Skip to main content
To add tinyanalytics to a Bubble app, paste the tracking snippet into the app’s header script setting. It applies to every page of your app.

Before you start

  • A tinyanalytics site. If you don’t have one yet, follow the Quickstart.
  • Your snippet from Settings → Tracking in your dashboard.

Add the snippet to the page header

1

Open SEO / metatags

In the Bubble editor, go to Settings → SEO / metatags.
2

Paste into the header field

Paste your tinyanalytics snippet into Script/meta tags in header:
3

Deploy to live

Save, then deploy to live for the change to reach your published app.
Replace YOUR_SITE_ID with your real site ID, and copy the full snippet from Settings → Tracking if you’ve toggled any options.

Single-page navigation is tracked automatically

A Bubble app renders as a single-page app, and tinyanalytics records page changes as pageviews by default (data-track-spa). See Track single-page apps to change this.

Verify

Open your deployed Bubble app in a browser, then check Realtime in your dashboard for your visit. See Verify your setup for the full check.
Your install is working when your own visit appears in Realtime in your dashboard.

Install on any platform

The universal method and other platforms.

Configure the tracking script

Every data-* option you can set.

Track custom events

Measure signups and clicks.

Verify your setup

Confirm tracking works.