Add DataEasy to Shopify
- In your Shopify admin, go to Online Store → Themes.
- Click ⋯ → Edit code on your live theme and open
layout/theme.liquid. - Paste the snippet right before
</head>and save.
theme.liquid
<script
defer
data-website-id="YOUR_WEBSITE_ID"
data-domain="yourdomain.com"
src="https://dataeasy.app/js/script.js"
></script>Use your store's primary domain for data-domain. If customers also browse your myshopify.com domain, add it under Additional domains.
Shopify's checkout runs on Shopify's pages, where custom scripts are restricted. Pageviews, sources and goals on your storefront work out of the box; native Shopify order attribution is on the roadmap.