Skip to content

Install on Bubble

Bubble apps take head scripts in SEO and metatags settings, which apply to every page of the app.

Bubble puts site-wide scripts in the app settings rather than on individual pages, so the tag is added once and every page of the app gets it, including pages you build later.

Where it goes

  1. Open SEO and metatags

    Settings › SEO / metatags in the Bubble editor.

  2. Paste into the header script box

    Paste the tag into the field for script and meta tags in the page header, then deploy to live.

html
<script defer data-website-id="ws_XXXXXXXX" data-domain="yourstartup.com" src="https://statsy.co/js/script.js"></script>

Confirm it works

Open the live app on your own domain and check Live. Bubble navigates between pages on the client, and those navigations are counted automatically, so each page a user reaches inside the app is its own row in the Pages report.

Keep the test version out of your reports

Bubble serves the development version of an app under a /version-test path prefix on the same domain, so your own testing is recorded as real traffic on paths like /version-test/pricing. Add /version-test/* under Site settings › Tracking › Excluded paths and it is dropped at ingest, before it is counted or billed. See Exclude your own visits and bots.

Last updated · Markdown version