Shopify
On Shopify you add the snippet to your theme’s layout file so it loads in the <head> across your storefront.
1. Get your snippet
Each site has its own snippet with a unique script URL. Copy the exact one from your dashboard’s Install step, with your site’s ID in place of wa-XXXXXXXX.
<!-- Privacy-friendly analytics by Wazlytics -->
<script async src="https://wazlytics.com/js/wa-XXXXXXXX.js"></script>
<script>
window.wazlytics = window.wazlytics || function(){(wazlytics.q = wazlytics.q || []).push(arguments)};
wazlytics.init = wazlytics.init || function(o){ wazlytics.o = o || {} };
wazlytics.init()
</script>2. Add it to theme.liquid
In your Shopify admin, go to Online Store → Themes, open the ⋯ menu on your current theme, and choose Edit code. Under Layout, open theme.liquid, find the closing </head> tag, paste the snippet just above it, and Save.
Note
theme.liquid covers your storefront (home, collection, product, cart) but not the checkout pages — Shopify only allows checkout customization on Shopify Plus. On standard plans the checkout step won’t be tracked, which is expected.Verify
Open Realtime in Wazlytics and load a page on your store — your visit should appear within a few seconds. If nothing shows up, the troubleshooting guide covers the usual causes.