Actually Tracking
Install guides

Shopify

Add Actually Tracking to a Shopify store.

  1. In Shopify admin, go to Online Store → Themes.
  2. Next to your current theme, open ⋯ → Edit code and select layout/theme.liquid.
  3. Paste the script just before </head> and Save.

This tracks your storefront. Shopify's checkout pages don't run theme code, so purchases are not recorded from the script.

<script defer src="https://actuallytracking.com/op1.js" data-client-id="YOUR_CLIENT_ID"></script>

Replace YOUR_CLIENT_ID with your project's client ID from Settings → Clients / API keys.

Open your site in a new tab, then look at Realtime in Actually Tracking: your visit shows up within a few seconds.