Google Tag Manager (GTM) Setup

Important: GTM Compatibility

TrackShift’s Web Pixels cannot load external scripts like gtag.js or GTM inside Shopify’s sandbox environment. Instead, TrackShift:

  1. Sends events to our server relay endpoint
  2. Forwards events to GTM server-side container (if configured)
  3. 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

Last updated: January 16, 2026