For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Shopify

Add Humblytics to your Shopify store in about 3 minutes.

You need: access to your theme code in Shopify admin. Works on every Shopify plan, including Plus.

1. Copy your tracking code

In Humblytics, open Site settings → Install and click Copy tracking code. Adding a new site? The code appears in step 2 of Add Site.

Copy the whole snippet, from <!-- Start Humblytics Tracking Code --> to <!-- End Humblytics Tracking Code -->.

2. Paste it into your theme

  1. In Shopify admin, go to Online Store → Themes.

  2. On your live theme, click ⋯ → Edit code.

  3. Open Layout → theme.liquid.

  4. Paste the snippet on the line just before </head>.

  5. Click Save.

ADD GIF HERE

3. Verify

  1. Back in Humblytics, click Verify install.

  2. Open your storefront in a private window and click around. Your visit appears in Observe → Analytics → Overview under Live Activity within about a minute.

Not verifying?

  • You edited the live theme, not a draft or duplicate.

  • The domain in Humblytics matches the one shoppers land on, with or without www.

Still stuck? See Verify & Troubleshoot Tracking.

What's tracked on Shopify

Tracked
Not tracked

Home, collection, product, and cart pages

Checkout pages. They run on Shopify's own sandboxed checkout, which doesn't load theme code.

Analytics, heatmaps, funnels, and A/B tests on those pages

Shop Pay and Shopify Payments revenue

If your store charges through Stripe, connect Stripe for revenue attribution. For other setups, see Other Payment Providers.

Last updated