Install Wholetally on Shopify

Add the snippet to your theme so it loads on every storefront page.

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

Steps

  1. Open Online Store, then Themes.
  2. On your live theme choose the three-dot menu, then Edit code.
  3. Open theme.liquid.
  4. Paste the snippet before the closing </head> tag.
  5. Click Save.
Tracking snippet
<script defer src="https://api.wholetally.com/script.js" data-site="your-site-id"></script>

Checkout pages

Shopify’s checkout pages don’t load your theme, so the script doesn’t run there.

Revenue

Revenue per source needs Stripe; Shopify Payments is not supported.

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

Shopify hosts the site for you, so a Cloudflare Worker or Next.js middleware usually can’t sit in front of it. You count visitors and AI referrals with the script; AI crawler hits need the edge collector.

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