Install guides / Google Tag Manager

Add AnalyzeUser to Google Tag Manager

Replace YOUR_SITE_ID with the site id from your project's setup screen.

  1. Create a tag of type Custom HTML and paste the loader below.
  2. Trigger it on All Pages (or Initialization - All Pages for the earliest start).
  3. Submit and publish the container.
<script>
  (function () {
    var s = document.createElement("script");
    s.defer = true;
    s.src = "https://analyzeuser.com/track.js";
    s.setAttribute("data-site-id", "YOUR_SITE_ID");
    document.head.appendChild(s);
  })();
</script>

To check it works, open your site in another browser (browsers you use the dashboard in are left out of your stats) and watch the dashboard's Online count. Next: custom events, revenue attribution, or proxying through your domain so ad blockers don't hide visitors.

Start free trial