Guide · Last updated: 2026-11-28
Webflow: add a bug report button and JavaScript error tracking
Add bugd.one to Webflow with custom code: a report button with screenshot and optional JavaScript errors, staging on webflow.io, plan requirements, privacy and troubleshooting.
Language: Deutsch
Webflow sites look perfect in the Designer, and still a form breaks on one phone or an embedded script throws an error. With bugd.one visitors report such problems with a button and a screenshot, and JavaScript errors can land in your dashboard automatically. You don't need a Webflow app for this.
Prerequisites
- A Webflow site with a paid site plan or in a paid Workspace (Core, Growth, Agency or Freelancer). Without one of them the custom code fields are locked.
- A bugd.one account: new accounts try all Pro features free for 7 days, no credit card. Then the project needs Pro (€9.90) or Team (€29.90) per month (incl. VAT); without an active plan bugd.one accepts no new reports or crashes.
- Your project key (
bk_live_…) from Project → Settings. It is public and may appear in the page source. Never put the server key (bk_server_…) into a website.

Step by step
Step 1: Paste the snippet into Site settings
In the Webflow dashboard open your site's Site settings and the Custom code tab. Paste into the Footer code field (inserted before </body> on every page):
<!-- bugd.one -->
<script>
(function () {
var KEY = 'bk_live_YOUR_KEY'
var ENV = /\.webflow\.io$/.test(location.hostname) ? 'staging' : 'production'
function load(src, start) {
var s = document.createElement('script')
s.src = src
s.async = true
s.onload = start
document.head.appendChild(s)
}
// Report button
load('https://bugd.one/widget.umd.js', function () {
window.Bugdone.initBugdone({
projectKey: KEY,
host: 'https://bugd.one',
environment: ENV,
privacyUrl: location.origin + '/privacy-policy',
})
})
// JavaScript errors (optional: delete the next 8 lines if you don't want them)
load('https://bugd.one/crash-reporter.umd.js', function () {
window.BugdoneCrashReporter.initCrashReporter({
projectKey: KEY,
host: 'https://bugd.one',
environment: ENV,
sessions: false,
})
})
})()
</script>
Replace bk_live_YOUR_KEY with your project key and /privacy-policy with the address of your privacy policy; the form links it next to the consent. The snippet loads both scripts asynchronously, so it never blocks page rendering. sessions: false makes sure bugd.one only receives data when an error occurs, not on every page view.
Click Save changes. Webflow allows up to 50,000 characters per field; the snippet needs only a fraction of that.
Step 2: Publish
Custom code only takes effect with the next Publish. Publish to every domain you use (the webflow.io address and your own domain). The button doesn't appear in the Designer or preview – that is normal. If you use Localization, check the custom code per locale as well.
Step 3: Allow your domains and test
If your bugd.one project keeps a list under Project → Settings → Allowed domains, add your domain (e.g. https://www.my-site.com) and the staging address https://<site>.webflow.io. Otherwise bugd.one rejects reports with HTTP 403 origin_not_allowed. An empty list allows all domains.
Open the published site in a private window, click the button and send a test report; it appears in the dashboard under Bugs. For JavaScript errors run setTimeout(function () { throw new Error('bugd.one test ' + Date.now()) }) in the browser console; the error appears under Crashes.

What is captured
- Reports from your visitors with text, an optional screenshot (password and payment fields blacked out), browser, page and recent console errors.
- Uncaught JavaScript errors (with the optional part of the snippet) including the last steps before them, plus scripts and stylesheets that fail to load.
On *.webflow.io the snippet reports the environment staging; such reports are marked in the dashboard but trigger no e-mails, webhooks or chat messages. Webflow runs your site's server, so there are no server-side errors to capture. If a Webflow form fails on submit, you see it as a JavaScript error or a report.
Privacy
As the website operator you are the controller for the data the snippet sends to bugd.one; bugd.one (Mignuti Media) processes it on your behalf. Before you go live:
- Mention bugd.one in your privacy policy.
- Conclude the data processing agreement.
Sent with the report button (only when a visitor submits): the text entered, anything the visitor attaches (screenshot only on request, images), name and e-mail address only with consent, the page address without parameters, browser and operating system and recent console errors (e-mail addresses and tokens removed). With JavaScript errors: error message, stack trace, page address without parameters, browser, operating system, environment and the last steps before the error (pages visited, an identifier of clicked controls without text or input, failed requests without parameters, console error and warning messages).
Not sent: cookies and form input. The snippet sets no cookies; only after a report is submitted does the form store an access key in localStorage so the reporter can see status and replies under “My reports”. The data is stored with Cloudflare under EU jurisdiction.
Cookie banner: Webflow has no built-in banner for third-party scripts. If you use a consent tool (e.g. Finsweet Consent or Cookiebot), you can assign JavaScript error tracking to a category there. The report button sets no cookies and only sends when a visitor asks for it.
Troubleshooting
- The custom code fields are greyed out: the site has no paid site plan and isn't in a paid Workspace.
- No button visible: republish, open the site in a private window and search the page source for
widget.umd.jsorbugd.one. The button never appears in the Designer or preview. - The button appears twice: the snippet is in both Site settings and a page’s Page settings. Remove one.
- Content Security Policy (Enterprise or your own proxy only): allow
https://bugd.oneinscript-srcandconnect-src. - The report button covers another button (chat, cookie settings): add
offsetY: 90toinitBugdone(distance from the bottom in pixels) or setposition: 'bottom-left'. - HTTP 403 `origin_not_allowed`: add your domain under Allowed domains.
- HTTP 403 `project_read_only`: the trial has ended; choose a plan.
- Ad blockers: some blockers stop error-tracking scripts. Test in a private window without extensions.
Going further
- Bug report button for your own website: all widget options
- JavaScript error tracking in the browser: crash reporter options
- Wix: add a bug report button
- Squarespace: add a bug report button
Frequently asked questions
- Do I need a paid Webflow plan?
- Yes. The custom code fields can only be used with a paid site plan or in a paid Workspace (Core, Growth, Agency, Freelancer). On a free Starter site without a paid Workspace they are locked.
- Why don't I see the button in the Designer?
- By default Webflow doesn't run custom code in the Designer or preview, only on the published site. Check the button after publishing.
- Are reports from the staging address counted as production?
- No. On
*.webflow.iothe snippet reports the environmentstaging. Such reports are marked in the dashboard but trigger no e-mails, webhooks or chat messages. - Can I show the button on single pages only?
- Yes. Instead of Site settings, paste the snippet into the page's Page settings under Custom code → Before </body> tag. Don't use both places at once, or the widget loads twice.
Related guides
- Add a bug report button to your website — Embed a feedback widget with screenshots, annotation and “My reports” via one script tag — options, environments, privacy link and self-hosting via ZIP.
- JavaScript error tracking in the browser — Capture uncaught errors and unhandled promise rejections in the browser: crash reporter via script tag (ESM/UMD), releases and source-map upload with curl.
- Wix: add a bug report button and JavaScript error tracking — Add bugd.one to Wix with Custom Code: a report button with screenshot and optional JavaScript errors, requirements, the cookie banner, privacy and troubleshooting.
Up and running in two minutes
Create an account, add a project, paste your key — all Pro features free for 7 days, no credit card required.