Installation guides

Install the tracking script with Google Tag Manager

Load the snippet from a Custom HTML tag that fires on all pages, then publish. Pasting it in your site's <head> holds up better against ad blockers.

Your snippet is in Settings → General of the website (the gear next to its name on the dashboard), with its id and domain filled in. The examples below use YOUR_WEBSITE_ID and yourdomain.com: replace them with yours.

  1. Create a Custom HTML tag

    In Google Tag Manager, Tags → New → Tag Configuration → Custom HTML, and paste the snippet:

    <script
      defer
      supr-website-id="YOUR_WEBSITE_ID"
      supr-domain="yourdomain.com"
      src="https://supranalytics.app/js/script.js"
    ></script>
  2. Fire it on all pages

    Under Triggering, choose All Pages (or Initialization - All Pages to load it sooner). Save.

  3. Publish

    Click Submit, then Publish. Preview mode doesn't send data to SuprAnalytics's live site until it's published.

Pasting the snippet directly in your site's <head> is still better when you can: Tag Manager is itself blocked by many ad blockers.

Check it works

Open your website in a normal browser window, then the dashboard: the visit shows up within seconds, and the install card on a new website turns into the dashboard by itself. Nothing after a minute? See Not seeing any data.

AI agent or LLM? Read this page as Markdown