popstate event and a full page load.
Fix:
- Open your store in Chrome → DevTools → Network tab. Filter by
upstackor your pixel endpoint. - Navigate to the page where duplicates occur. Watch for two network requests firing for the same event.
- If you see two requests:
- Check if your theme uses AJAX cart functionality — some themes trigger a full page reload after adding to cart, which fires
PageViewagain. - Check if you have a custom Upstack initialization script in addition to the app embed — only one should be active.
- Check if your theme uses AJAX cart functionality — some themes trigger a full page reload after adding to cart, which fires
- Go to Online Store → Themes → Customize → App embeds and ensure only the official Upstack Data embed is enabled. Remove any manual
<script>tags referencing Upstack from your theme’slayout.liquidortheme.liquidfiles. - If you’re using a headless or SPA Shopify theme, consult the Shopify integration guide — the pixel should track route changes via the History API, not full page reloads.
Still stuck? Contact support@upstackdata.com with your Pixel ID and a description of the issue. We typically respond within a few hours.