🛍️
INSTALL GUIDE
Shopify
Add the Dupes tracker to your Shopify site. Replace dps_your_site_idand the domain with your own — find them on your site's Install page.
Steps
- 1Shopify admin → Online Store → Themes → ⋯ → Edit code.
- 2Open Layout → theme.liquid.
- 3Paste the snippet just before </head> and Save.
<script
src="https://dupes-gilt.vercel.app//js/script.js"
data-dupes-id="dps_your_site_id"
data-dupes-domain="yourdomain.com"
defer
></script>💡 Tracks storefront pages. Checkout events depend on your Shopify plan.
Track a goal
Record conversions like submit_form anywhere on the page:
<!-- Declarative: fire when clicked -->
<button data-dupes-goal="submit_form">Sign up</button>
<!-- Programmatic: fire from anywhere -->
<script>
window.dupes("submit_form", { plan: "pro" });
</script>