Install the tracker

Add the tracker before the closing body tag on every page. Copy the API key from Websites, then your site.

<script
  async
  id="a-tracker"
  data-api-key="YOUR_API_KEY"
  data-api-host="https://app.atribusi.com/api"
  src="https://atribusi.com/tracker/tracker.min.js"
></script>

Optional attributes:

  • data-track-local-host="true" also tracks localhost
  • data-scl="true" shows a small Powered by Atribusi badge
  • data-session-replay="true" records session replay
  • data-cookieless="true" keeps the visitor ID in memory for the current tab

The tracker starts on load unless the visitor is a bot. It creates a visitor cookie and a session, sends pageviews on load and SPA navigations, and tracks outbound link clicks.

Read the install how-to. Open Overview after you deploy. Pageviews should appear within a few seconds.