5 minutes
Install Web-Tracking.eu on Shopify
Add cookieless analytics to your Shopify store with a small theme snippet — no app, no recurring fees, no cookie banner needed.
1
Download the snippet
Grab our pre-made Liquid snippet — it includes useful comments and is ready to drop in.
2
Open your theme code editor
In Shopify admin: Online Store > Themes. On your live theme, click Actions > Edit code.
Screenshot: Shopify theme code editor
3
Create the snippet file
In the left sidebar, scroll to Snippets and click Add a new snippet. Name it web-tracking. Paste the contents of the file you downloaded, then save.
<!-- snippets/web-tracking.liquid -->
<script src="https://web-tracking.eu/t.js?site=YOUR_SITE_ID" defer></script> Replace YOUR_SITE_ID with the ID from your Web-Tracking.eu dashboard.
4
Render it from theme.liquid
Open layout/theme.liquid. Find the closing </head> tag and add this on the line just before it:
{% render 'web-tracking' %}
</head> Save the file. Your store now tracks pageviews on every page.
Verify it's working
- Open your site in a private/incognito window.
- Visit any page on the site.
- Open the Web-Tracking.eu dashboard for this site.
- The Realtime view should show your visit within 5–10 seconds.
Having trouble?
- No data showing: Confirm the script is in the page source (View Source > search
web-tracking.eu/t.js). - Wrong site ID: Double-check the ID matches the one in your dashboard. IDs are case-sensitive.
- Ad blocker: Web-Tracking.eu is privacy-friendly, but some aggressive blockers still hide it. Test in a fresh browser.
- Caching: Many platforms cache the page HTML. Purge your cache after install.
- Still stuck? Email hello@web-tracking.eu with your site URL.