Collect website feedback
Create and configure the channel
Section titled “Create and configure the channel”- Open Channels and select New Channel.
- Choose Feedback Widget and create the channel.
- Add every website host that may load the widget under Allowed Domains.
- Choose Stars (1-5), Thumbs up / down, or NPS (0-10).
- Set Tell us more, Name, and Email to Hidden, Optional, or Required. The comment can instead be required only for a selected score range. Name and email can appear only after a rating is selected.
- Edit the title, question, button and preference labels, success message, color, and floating position.
- Configure Privacy and completion, Appearance, and Display Rules, then save a draft. Select Publish draft to put it live.
Feedback Widget channels do not use an AI assistant, so there is no assistant selection when you create or edit one.
You can install the Feedback Widget without a Chat Widget, or use both on the same page. Copy each widget’s embed code from its own channel and keep its corresponding channel ID. The Feedback Widget does not require Chat to load.
The live preview updates while you edit the form and shows the selected rating format, visible fields, required state, text, and color. It previews the open form without the website launcher and does not submit feedback. With Modal with invitation, use Preview step to switch between the invitation and the feedback form. Previewing does not block the editor. The preview shows the same form appearance as the published widget, including the selected light, dark, or automatic theme. Automatic follows the visitor’s device appearance. The card adapts to the available space in floating and inline placements.
When a visitor selects a star rating, all stars up to the selected score fill in. The configured text stays visible above each comment, name, and email field while the visitor types. If a score changes the comment prompt or makes it required, its label updates too. The fields preserve normal typing and Tab navigation.
Add translations
Section titled “Add translations”Under Language Overrides, select Add Language Override, choose a language, and fill only the text that should differ from the default. Select Save override, then save the channel.
Each language can override the title, question, placeholders, accessible rating label, validation and submission error text, button and preference labels, the invitation message and Yes button label, the opt-out confirmation, and the success message. Use Edit or Remove next to a saved language when needed.
The widget uses the requested language first, then its base language, then the default text configured for the campaign. Feedback translations are separate from Chat Widget translations, so a feedback-only installation does not load the chat language bundle.
The Feedback Widget supports the same language list as the Chat Widget. It adds the translated (optional) marker automatically to visible optional fields, so keep each configured placeholder free of that marker.
Control when the form appears again
Section titled “Control when the form appears again”Use Display Rules to set these behaviors:
- Occurrence scope applies dismissal and submission history to the
campaign, requires a reference ID, or uses a reference with campaign
fallback. Reference modes use
data-ref-id. The required mode does not display the form without a reference. - After dismissal controls how many days pass after Not now.
Set it to
0to disable this cooldown. The close button stops proactive prompts for the current browser session instead. - After submission can permanently stop the form for the same scope or allow it again after the configured cooldown.
- Placement offers a built-in floating launcher, an external launcher, a proactive-only floating form, Modal with invitation, or an inline form.
- Activation can be disabled or automatic: immediately, after a delay, at scroll depth, after inactivity, when an element becomes visible, on desktop exit intent, or after a named custom event.
- Page rule limits the widget to matching paths. Use
*for every page, an exact path such as/checkout, or a wildcard such as/checkout/*. - Sampling, impression limits, and the configured schedule can further limit proactive prompts. A visitor’s inclusion in a sample is stable within a campaign.
Modal with invitation works on phones, tablets, and desktops. Automatic activation first shows your Invitation message with a Yes button label and the existing Not now button. Yes replaces the invitation with the feedback form in the same centered modal. Not now applies After dismissal; the close button, Escape, or clicking outside stops prompts for the current session. The page behind the modal is not interactive while it is open. Floating position and offsets do not apply to this placement.
An external launcher or DoublewireFeedback.open() opens the form directly,
without asking first. Custom event remains automatic activation, so it
shows the invitation and respects your existing display rules.
Visitors can expand Feedback preferences to see the opt-out choices for the whole channel and, when available, the current reference. This heading uses your configured preference label. The confirmation offers Undo. With Modal with invitation, keep the modal open until the confirmation appears if you want to use Undo. Closing it does not cancel a successful preference save, and the confirmation does not reopen or replace a form you open afterward. Long confirmations can be scrolled within the modal. These preferences survive a new campaign and are stored by Doublewire, so clearing ordinary browser storage does not restore prompts for the same identity. A visitor can still open the form voluntarily through an available launcher. Voluntary opening does not wait for a pending automatic prompt, and its decision does not interrupt the form the visitor has opened. Stopping prompts keeps the built-in launcher available, including while the Undo confirmation is visible. A preference saved in another tab also prevents new automatic prompts for the same identity. Custom-event activation respects these preferences, cooldowns and impression limits too; it is not a voluntary request to open the form. Opening another tab does not reset the first tab’s session limits or close choice. Each tab has independent session limits, including tabs opened by your application; reloading a tab keeps its session limits and close choice. When a cooldown ends on an open page, proactive requests can become eligible again. A form the visitor is already completing is not interrupted. The rolling impression limit also releases when its configured window ends. Scheduled prompts can start on an already open page and stop when the schedule ends, including prompts waiting for a delay. Publishing a different after-submission policy applies the new rule to previous submissions without removing the responses or their history.
Publish and start another campaign
Section titled “Publish and start another campaign”Saving changes creates a draft revision; the live widget keeps using the published revision. Select Publish draft to make the saved changes live. The publish action appears after saving without reloading the editor. If you have unsaved changes, publishing asks for confirmation and uses the saved draft without discarding those edits. Select Start new campaign to prepare a separate draft while the current campaign remains live. Publishing the new campaign ends the old one and resets campaign-specific recurrence. Channel and reference opt-outs persist. An already open form submits against the published revision it displayed, even if a newer revision or campaign is published before the visitor submits. New automatic prompts follow the current publication, including on pages that are already open. A form the visitor is already completing is not interrupted. If another person replaces the campaign while you are editing, reload before saving. Save anyway can overwrite edits to the same campaign, but cannot apply an old campaign’s form to a different campaign.
Install the widget
Section titled “Install the widget”Serve the website over HTTPS and use a browser that supports the Web Locks API. Localhost is supported for development. Without that browser support, the widget does not appear.
Copy the code under Embed Code. The example updates with the selected
placement. Floating mode is the default, so the standard code does not need
data-mode="floating".
The floating embed can be placed in either the page head or body.
For Modal with invitation, use the standard embed without an extra
data-mode or target. The channel’s placement and activation settings control
the invitation. The local Feedback Widget Lab’s Use channel placement
option also uses these settings.
For an inline form, add data-target="#feedback". A target automatically
selects inline mode when data-mode is omitted. The target element must
already exist when the script runs.
With Close automatically, the inline form disappears after showing
the success message; it does not immediately restart as a blank form.
For your own launcher, add data-trigger="#feedback-button" to the embed.
Select Floating - external launcher for this placement. The launcher also
works if your application adds or replaces the matching element later.
You can also use data-mode="floating" with
data-target="#feedback-button". In that explicit floating mode, the target
is treated as the external launcher instead of an inline container.
With activation disabled, your application can still call
DoublewireFeedback.open(). For Custom event, configure the event name and
call DoublewireFeedback.trigger('purchase_completed'). You can update the
reference at the same time with
DoublewireFeedback.trigger('purchase_completed', { refId: 'order-123' }).
Alternatively, dispatch a doublewire:feedback browser event with name and
optional context in its detail.
Add data-ref-id="order-123" when cooldowns and opt-outs should follow a
specific order, article, product, or other application object. In a
single-page application, call DoublewireFeedback.setContext({ refId }) when
that object changes.
You can instead supply the page reference in
<meta name="doublewire:ref-id" content="order-123"> or a page element’s
data-doublewire-ref-id attribute. Updates to those values change the active
reference automatically. The meta value takes precedence over the page
element, which takes precedence over the embed’s data-ref-id.
Pass language to DoublewireFeedback.setContext({ refId, language: 'el' })
to change its language at the same time. The widget updates its internal
translations and text direction as well as the campaign’s language overrides.
Without an authenticated identity, the widget keeps a browser-specific anonymous identity, including across pages opened at the same time. To keep preferences consistent across browsers and devices, generate a secret under Authenticated Application Identity and issue short-lived identity tokens only from your application server. Never place the signing secret in browser code.
The token is base64url(payload).base64url(signature). Sign the unencoded JSON
payload with a keyed SHA-256 signature and the configured secret. The payload
requires:
v: 1;aud: this Feedback Widget channel ID;sub: your stable user ID;iatandexp: Unix timestamps with a lifetime of no more than 24 hours;- optional
ref_id, which takes precedence over a browser-supplied reference.
Pass the result as data-identity-token. For a single-page application, call
DoublewireFeedback.setContext({ identityToken, refId }) when the signed
context changes. Invalid or expired signed identities are rejected; the widget
does not silently replace them with an anonymous identity.
Review responses
Section titled “Review responses”If sending fails without a confirmed rejection, the answer fields remain locked. Select Send feedback again to retry the same answer. A confirmed validation rejection unlocks the fields so the visitor can correct them. Retrying that pending answer does not create another Inbox conversation.
Each successful submission creates a new Inbox conversation with a structured feedback card. The card shows the score, optional comment and contact fields, page path, and reference when supplied. Feedback conversations are for triage and do not provide an outbound reply composer.
Open Analytics > Explore > Feedback to review eligibility and suppression reasons, impressions, opens, submissions, dismissals, opt-outs, entry modes, campaign performance, and the daily funnel for the selected period. Feedback analytics include production interactions only; the admin live preview does not contribute.
Interaction counts are not unique visitor counts. Repeated opens and dismissals count separately. Automatic prompts still follow your configured impression limits. In Modal with invitation, showing the invitation counts as one impression. Selecting Yes counts as one open, without a second impression. Not now counts as a dismissal without an open. Closing counts as a session close.