Important: GTM Compatibility
TrackShift’s Web Pixels cannot load external scripts like gtag.js or GTM inside Shopify’s sandbox environment. Instead, TrackShift:
- Sends events to our server relay endpoint
- Forwards events to GTM server-side container (if configured)
- Or uses native pixel templates for each provider
When to Use GTM
- You have complex custom tracking requirements
- You need server-side GTM container
- You have custom data layer implementations
Recommended Approach
For most merchants, we recommend using TrackShift’s native provider templates instead of GTM. This provides:
- Simpler setup
- Better Shopify integration
- Automatic event mapping
- Built-in health monitoring
—