Shopify same-origin tracking: checkout limits and fixes

Written by

Uliana Lesiv, Dan Murov

Published Oct 19, 2026 comments

Key takeaways

What is the same-origin method?

What is the sandbox in Shopify, and how does it affect tracking?

Same-origin domain on Shopify checkout pages

Browser console Howerror

Testing Shopify checkout pixel request restrictions

Request typeSame-origin endpointTracking subdomain

Service workers for Shopify checkout event tracking

How a service worker functions

Why same-origin would provide no intended benefits on Shopify checkout

Cookies in Dev Tools
Shopify conversion tracking done right

Shopify website tracking configuration

Same-origin domain setup for storefront

Subdomain setup for checkout

GTM tags and variables setup

1. Configure Data Tag and Data Client

2. Enable "Add Common Cookies" in Data Tag

"Add Common Cookies" checkbox in Data Tag config

3. Configure the RegEx Table variable

RegEx Table
Page Path specified in the Input Variable
^/checkouts.*
Variable configuration example

4. Update the tags with a RegEx Table variable

Update server-side URLs

Test the Shopify website tracking configuration

Final words

Want to start on the server side?

Try for free

Written by

Uliana Lesiv

Content writer

Uliana is a Content Manager at Stape, specializing in analytics and integration setups. She breaks down complex tracking concepts into clear insights, helping businesses optimize data collection.

Dan Murov

Dan, an expert in server-side tracking and GTM, helps businesses optimize tracking and data accuracy. A MeasureCamp speaker, he simplifies advanced tracking for marketers, developers, and analysts.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free