Bubble

Add DataSaaS analytics to your Bubble application. Bubble allows you to add custom scripts via the SEO settings.

Warning

Adding custom code requires a Bubble paid plan. Make sure your account is on a paid plan before proceeding.

1

Open SEO / metatags settings

In your Bubble editor, go to SettingsSEO / metatags.

2

Paste in the header script section

Paste the DataSaaS script into the Script/meta tags in header section.

3

Save

Click Save to apply your changes.

4

Add the DataSaaS tracking script

Paste the following snippet:

<script
  defer
  data-website-id="ds_YOUR_WEBSITE_ID"
  data-domain="yourdomain.com"
  src="https://datasaas.co/js/script.min.js"
></script>
5

Replace the placeholder values

Replace ds_YOUR_WEBSITE_ID with the Website ID you received when adding your site in DataSaaS, and replace yourdomain.com with your actual domain.

6

Verify

Visit your website, then open the DataSaaS dashboard. You should see your visit appear within a few seconds.