Skip to content
feedback
FeaturesPricingDocs
Sign inStart free

Docs

Documentation

Everything you need to add Cheeky Feedback to your site.

Install

Add the script once (e.g. before </body>) and mark any element as a trigger. The project key is on your project page.

html
<script defer src="https://feedback.cheekylabs.cz/widget.js" data-project="cf_your_project_key"></script>

<button data-cheeky-feedback>Feedback</button>

Identify your users

Pass your user’s ID and email so you know who sent the feedback. When an email is given, the widget hides its email field.

html
<button
  data-cheeky-feedback
  data-cheeky-feedback-user-id="usr_123"
  data-cheeky-feedback-email="jana@example.com"
>
  Feedback
</button>

Custom metadata

Any data-cheeky-feedback-metadata-* attribute is stored with the feedback. Use it for plan, app version, tenant…

html
<button
  data-cheeky-feedback
  data-cheeky-feedback-metadata-plan="pro"
  data-cheeky-feedback-metadata-version="2.4.1"
>
  Feedback
</button>

Script options

AttributeDescription
data-projectRequired. Your project key.
data-langen, cs or auto (default). Auto follows <html lang>, then the browser.
data-themelight (default), dark or auto.
data-accentAccent color as hex, e.g. #ff6a00.

JavaScript API

Open the widget from your own code, e.g. from a menu item or a keyboard shortcut.

js
window.CheekyFeedback.identify({ id: 'usr_123', email: 'jana@example.com' })
window.CheekyFeedback.setMetadata({ plan: 'pro' })

// Opens next to an element, or bottom-right without one
window.CheekyFeedback.open({ anchor: '#help-button', category: 'issue' })
window.CheekyFeedback.close()

// The script is deferred: wait for it if you call it early
window.addEventListener('cheeky-feedback:ready', () => { /* … */ })

React & Next.js

The React package loads the script for you and gives you a button component.

tsx
npm install @cheeky-feedback/react

import { CheekyFeedback, FeedbackButton } from '@cheeky-feedback/react'

export function App({ user }) {
  return (
    <>
      <CheekyFeedback
        projectKey="cf_your_project_key"
        src="https://feedback.cheekylabs.cz/widget.js"
        user={{ id: user.id, email: user.email }}
      />
      <FeedbackButton className="my-button">Feedback</FeedbackButton>
    </>
  )
}

Allowed origins

In project settings, list the sites allowed to submit feedback with your key. Submissions from other origins are rejected. Leave the list empty while testing.

feedback

A Cheeky Labs product · © 2026 All rights reserved.

PricingDocsSign in