Add a feedback widget to a WordPress page
Add a feedback button to a post or help page with a Custom HTML block. Your WordPress site needs to allow JavaScript.
What you can do with tinyDialog
Data connectors
Forward new responses to Slack or Discord. Use a webhook to send feedback to an Airtable, Zapier, or n8n workflow.

AI topic detection
On Pro, group feedback by topic and filter responses in the dashboard to see what visitors bring up repeatedly.
Spam protection
Enable Cloudflare Turnstile on your widget to help filter automated submissions.


Widget localisation
Write the question, button label, and other widget text in your audience’s language.
Check that your site allows scripts
You need permission to save unfiltered HTML in the block editor. Your host or site settings can also restrict scripts and embedded frames. Check the WordPress Custom HTML block documentation or WordPress.com’s Custom HTML requirements for your setup.
Add the button to a post or page
- Create a tinyDialog survey. Open Setup & Connections and copy its survey ID.
- In the WordPress block editor, add a Custom HTML block where you want the button. Paste the snippet below and replace
YOUR_SURVEY_ID. Add the script only once on the page. - Update the page and open the published version. Click Give feedback, submit a test response, and verify it in your tinyDialog dashboard.
<button type="button" data-tinydialog-openwidget="YOUR_SURVEY_ID">
Give feedback
</button>
<script
src="https://cdn.jsdelivr.net/npm/@tinydialog/sdk-js@latest/dist/browser.js"
defer
></script>Start with one page
Place the button below a help article and ask what readers still need to know. You can also embed the question directly in the article using the inline option in the website JavaScript setup.
Frequently asked questions
- Why does my WordPress feedback button appear but fail to open?
- Reopen the Custom HTML block and check whether WordPress kept the script tag. If WordPress removed it, ask your site administrator whether they can add the script using the tinyDialog HTML and JavaScript instructions.
- Where do responses from WordPress go?
- Open the survey in your tinyDialog dashboard to read or export its responses. You can also add a webhook connector to forward new feedback to your team’s workflow.
Create your first survey
Start free with 25 responses per month.
Start free

