Install Wholetally on Google Tag Manager

Load the script through a Custom HTML tag. If you can, paste it into the site’s head directly instead.

Menu names as of November 2026; your theme or plan may name them differently.

Steps

  1. In your container choose New tag, then Custom HTML.
  2. Paste the snippet.
  3. Set the trigger to All Pages. A History Change trigger is not needed: the script counts single-page navigation itself.
  4. Submit and publish the container.
Tracking snippet
<script defer src="https://api.wholetally.com/script.js" data-site="your-site-id"></script>

GTM is itself on common blocklists, and it often waits for consent. Visitors it never loads for aren’t counted. If you can, paste the script into the site’s <head> directly.

See ChatGPT and other AI visitors

AI referrals work with the script alone: visitors from ChatGPT, Perplexity, Claude and other assistants get their own channel.

AI crawlers

Tag Manager runs in the browser, so it can’t see AI crawlers. For those, add the edge collector in front of your site. Edge collector setup

Check it works

Open your site in a private window, then look for the visit on your site’s Overview. The Install page in the app also checks for the first hit.

Read the quickstart

Count the visitors you’ve been missing.

30-day free trial, no card needed. Create an account with your email and add your first site.

Start 30-day trial