Analytise documentation

Privacy-friendly analytics that track visitors, traffic sources and revenue for your website. Add the tracker once — pageviews, referrals, AI traffic and clicks on your element come in automatically.

How the tracker works

Analytise ships one lightweight script. Drop it into your site's<head> (or inject it through your framework's layout) and it starts reporting immediately:

  • Pageviews, visitors and sessions with no cookie banner required — ids are generated locally and kept in a first-party cookie plus local storage.
  • Traffic-source classification: UTM parameters, referrers, ad-click IDs (gclid, fbclid, ttclid and friends) and AI assistants like ChatGPT or Claude.
  • Live visitors, devices, countries, and the time each visitor spent on each page.
  • Custom conversions via GTM's dataLayer or a one-line JavaScript API.
HTML — any website
<script defer data-domain="yourwebsite.com" data-site-id="YOUR_SITE_ID" src="https://www.analytise.com/js/tracker.js"></script>

Grab the exact snippet with your ids from Settings → Tracking code after adding your website in the dashboard (see Installation).

Revenue attribution

The Conversions page ties money back to the campaign that brought each customer in. There are two ways to get revenue in:

  • Gateway sync — recommended. Connect a read-only API key for Stripe or Dodo Payments. Analytise polls your payments every few minutes, matches the checkout metadata visitor id against the visitor's sessions and records channel, country and first-visit attribution automatically.
  • Client events — no key needed. Push purchases through GTM's dataLayer (or call window.analytise.trackConversion()) — see GTM & custom events.

Good to know

Payments that arrive without the visitor-id metadata still count toward revenue totals — they simply show as Direct attribution.

Privacy model

  • No personal data is stored: your visitors' ids are random tokens generated on their devices.
  • Gateway API keys are encrypted at rest with AES-256-GCM and are read-only — Analytise can never move or refund money.
  • Country and city come from server-side geo headers; element labels are redacted before leaving the browser.

Next

Installation