Logo of TAGGRS, written in blue and with a small favicon
HomeServer-side Tracking
Start for free
Introduction
Get started
Get started with TAGGRSSet up Google Tag ManagerAdd the GTM Data LayerConfigure GTM transformationsTest the setupDebuggingAnalytics dashboard
Migrate from Google CloudMigrate from hosting
Shortcuts
GTM Copy PasteReady-made templates
GA4 Server-side Tracking
Setup in GTMCreate GA4 Event TagsGA4 tag setup in server containerE-commerce events in GTM
Google Ads Server-side Tracking
Install Conversion LinkerSet up Conversion TrackingConfigure Enhanced ConversionsDeploy Remarketing Tags
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events DeduplicationMeta CAPI Gateway
LinkedIn Server-side Tracking
Install LinkedIn Insight TagSet up LinkedIn CAPILinkedIn Events Deduplication
TikTok Server-side Tracking
Set up TikTok PixelInstall TikTok Events APITikTok Events Deduplication
Pinterest Server-side Tracking
Set up Pinterest TagConfigure Pinterest Conversions APIPinterest Events Deduplication
Snapchat Server-side Tracking
Set up Snap PixelSnapchat Conversions APISnapchat Events Deduplication
TAGGRS Tracking Tags and Tools
Tracking TagsGoogle Service Account integrationsGTM LogsProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Tool
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side Tracking
Server-side Tracking for e-commerce
Shopify Data LayerShopware Data LayerMagento Data LayerWooCommerce Data LayerPrestashop Data LayerLightspeed Data Layer
Consent Management server-side
Activate Consent ModeConfigure TAGGRS with Axeptio

Configure Shopify Server-side Tracking

In this guide, you'll find a comprehensive walkthrough for implementing server-side tracking on your Shopify store using TAGGRS and Google Tag Manager (GTM). Designed for developers and technical teams, it enables you to collect more accurate first-party data, ensure GDPR compliance, improve site performance, bypass ad blockers, and benefit from extended cookie lifespans.

Prerequisites

  • A Google Analytics 4 account linked to your GTM account.
  • A functioning Shopify Data Layer on your website.

    Check out our guide to set up a Data Layer in Shopify.

  • A TAGGRS account and server container.

    You can register for free.

  • TAGGRS-managed hosting for your server container.

Set up your Shopify data layer

  1. Install the TAGGRS Shopify Data Layer App from the Shopify App Store for seamless, GA4-compatible event tracking.
  2. Ensure key ecommerce events (product views, add-to-cart, purchases) are pushed to the data layer.

Create and configure your TAGGRS account

  1. Sign up at TAGGRS and create a new server container.
  2. Update your DNS settings to point your chosen subdomain (e.g., sst.yourdomain.com) to TAGGRS, following the dashboard instructions.

Prepare Google Tag Manager containers

  1. In GTM, create both a web and a server container.
  2. Link your GA4 property to the web container.
  3. In the TAGGRS dashboard, download the Shopify server-side tracking template (JSON files) for both containers.

Import templates into GTM

  1. Import the web container template into your GTM web container.
  2. Import the server container template into your GTM server container.
  3. Pause or remove any unnecessary tags to avoid conflicts (e.g., legacy Facebook Pixel tags if you’re now using the Conversion API).

Configure variables and platform integrations

  1. In GTM, add required variables (e.g., TAGGRS Container ID, platform-specific IDs).
  2. Set up tags and triggers for platforms such as GA4, Google Ads, Meta CAPI, etc.
  3. For advanced use cases, add profit tracking or other TAGGRS tools as needed.

Test and debug your setup

  1. Use GTM Preview mode for both containers.
  2. Add your server container subdomain to the list of container URLs in the server container settings.
  3. Perform test actions (e.g., add-to-cart, purchase) and confirm events are received in both GTM and your analytics dashboards.
  4. Check for correct event deduplication and data flow.

Advanced optimization

  • Cookie recovery & CDN integration: Use TAGGRS tools to further reduce tracking loss from browser updates (e.g., iOS 16.4) and improve data quality.
  • Profit Tracking and custom analytics: TAGGRS supports advanced tracking scenarios for deeper business insights.

    Configure Profit Tracking.

Useful resources

Find expert support
Previous
CDN Server-side Tracking
Next
ActiveCampaign Server-side Tracking
Copyright © 2025 TAGGRS. All right reserved.
TABLE OF CONTENTS
PrerequisitesSet up your Shopify data layerCreate and configure your TAGGRS accountPrepare Google Tag Manager containersImport templates into GTMConfigure variables and platform integrationsTest and debug your setupAdvanced optimizationUseful resources