Install Statsdot on Bubble
Updated October 17, 2026
- In the Bubble editor, open Settings, then the SEO / metatags tab.
- Paste the snippet in the field for scripts in the page header:
<script defer data-domain="yourapp.com" src="https://statsdot.com/js/script.js"></script>
- Deploy to live.
Use the domain your visitors see (your custom domain, or the bubbleapps.io subdomain) and add the same in Statsdot. Header scripts and custom domains depend on your Bubble plan: check yours if the field is not available.
To count a button click as an event, add an action Run javascript (with a plugin such as Toolbox) with window.statsdot && window.statsdot.track('Signup').