Logo of TAGGRS, written in blue and with a small favicon
HomeServer-side TrackingMeta CAPI Gateway
EnglishDeutsch
SERVER-SIDE TRACKING
Get started
Get started with TAGGRSSet up Google Tag ManagerConfigure the subdomainAdd 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 TagsInstall Offline Conversions
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events Deduplication
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 integrationProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Approval GraphPOAS Tracking Connector
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side TrackingSpectacle Server-side TrackingDPG Media Server-side TrackingEulerian Server-side TrackingSame origin tracking with Cloudflare
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 AxeptioConfigure Cookie Confirm
META CAPI GATEWAY
ACCOUNT SETTINGS
User roles and accessSSO

Install DPG Media Server-side Tracking

This guide explains how to configure and deploy the DPG Conversion Measurement template in a Google Tag Manager Server-Side (sGTM) container using TAGGRS.

By using TAGGRS as your server-side environment, you can send conversions from GA4 to DPG Ad Manager securely and reliably, protected from browser restrictions and ad blockers, while maintaining full control over consent and data delivery.

Prerequisites

Before you begin, make sure you have:

- A server container in Google Tag Manager up and running
- An active TAGGRS account
- Google Tag Manager web container and Google Analytics 4 (GA4) implemented, so events reach your server container
- Consent Mode v2 implemented in your web container
- Access to DPG Ad Manager and the Conversion ID of your conversion

Configuration

Import the DPG Conversion Measurement template

First, add the DPG Media template to your server container.

1. Download the DPG Conversion Measurement template.
2. Unzip the downloaded file. You’ll find the template as a .tpl file inside.
3. Go to your server container in Google Tag Manager and click Templates.
4. Under Tag Templates, click New.
5. Click the three dots in the upper right corner, then click Import.
6. Select the .tpl file from the unzipped folder.
7. Save the template as DPG Conversion Measurement.

Configure the tag

1. In your server container, go to Tags, then click New.
2. Click Tag Configuration and select DPG Conversion Measurement under Custom.
3. Give the tag a clear name, for example DPG - Conversion - Purchase.
4. Enter your Conversion ID from DPG Ad Manager.
5. Under Conversion Events, enter the events that should trigger the conversion pixel.

Use the event names exactly as they appear in the eventData of your server container, not the category names in DPG Ad Manager. For example, if your conversion category in DPG Ad Manager is Add To Cart and the event in GTM is add_to_cart, enter add_to_cart.

Logo of TAGGRS Server-side Tracking: a light blue circle with two blue angle brackets

Tip: Open Preview mode in your server container and check the Event Data tab to see the exact event names coming in.

Configure consent

By default, the template uses Consent Mode. If Consent Mode is implemented correctly, you will see the parameter x-ga-gcs with the value G110 or G111 in the event data of your server container.

Prefer to handle consent yourself? You can customize this in the tag:

1. Open Consent Settings in the tag.
2. Change the setting to Custom.
3. Make sure the tag only fires when the user has consented to marketing purposes.

Configure triggers

The tag needs a trigger that covers all events, not just your conversion events. The template uses every incoming event to check for the click token and stores it in a cookie. Your conversion events are then filtered by the Conversion Events field from Step 2.

The easiest option is a generic trigger on all GA4 events:

1. Under Triggering, click + to create a new trigger.
2. Choose Custom as the trigger type and select Some Events.
3. Set the condition to Client Name equals GA4. If your GA4 client uses a different name, use that name instead.
4. Give the trigger a name, click Save, then save the tag.

Logo of TAGGRS Server-side Tracking: a light blue circle with two blue angle brackets

Important: Always make sure a consent_update event reaches the tag. This event is required to retrieve the click token and store it in a cookie after the user gives consent. Don't rely on page_view alone: it fires before the user has consented. You don't need to add consent_update under Conversion Events in the tag, only include it in the trigger.

Add the click token to your landing page URL

The click token links a conversion to the ad click. For it to reach your website, add the token parameter to the landing page URL of your campaign in DPG Ad Manager.

- Without existing parameters: https://my_url.com?token=${SSP_DATA}
‍
-
With existing (UTM) parameters: add &token=${SSP_DATA} to the end of the URL.

Publish and test

Before you publish, check that the click token is stored correctly.

1. Open your website and add ?token=123 to the URL, or &token=123 if the URL already has parameters.
2. Accept the cookies in your consent banner.
3. Right-click the page and select Inspect to open the developer tools.
4. Go to Application > Cookies and select your domain.
5. Check that a cookie named xandr_token with the value 123 is present.

With the test value 123, the request in your server container's Preview mode returns HTTP status 400. To see a valid response instead, use the token below. You will then see HTTP status 302.

Logo of TAGGRS Server-side Tracking: a light blue circle with two blue angle brackets
token=nym1CJjYiJ3oq6LkMxACGIHey7vM0vGDRyIJMTAuMS4xMi42KAE.

Once everything works as expected, publish the changes to your server container from TAGGRS.

Useful resources

icon of a white thunder used by TAGGRS to visually introduce Server-side Tracking
Start for free with Server-side Tracking
icon of a white upward arrow
White silhouette of a person used as icon for the support call to action
Get expert support
icon of a white upward arrow
Previous
Spectacle Server-side Tracking
Next
Eulerian Server-side Tracking
DOCUMENTATION V1.4
Copyright © 2026 TAGGRS. All right reserved.
SERVER-SIDE TRACKING
Get started
Get started with TAGGRSSet up Google Tag ManagerConfigure the subdomainAdd 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 TagsInstall Offline Conversions
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events Deduplication
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 integrationProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Approval GraphPOAS Tracking Connector
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side TrackingSpectacle Server-side TrackingDPG Media Server-side TrackingEulerian Server-side TrackingSame origin tracking with Cloudflare
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 AxeptioConfigure Cookie Confirm
META CAPI GATEWAY
ACCOUNT SETTINGS
User roles and accessSSO
SERVER-SIDE TRACKING
Get started
Get started with TAGGRSSet up Google Tag ManagerConfigure the subdomainAdd 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 TagsInstall Offline Conversions
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events Deduplication
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 integrationProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Approval GraphPOAS Tracking Connector
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side TrackingSpectacle Server-side TrackingDPG Media Server-side TrackingEulerian Server-side TrackingSame origin tracking with Cloudflare
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 AxeptioConfigure Cookie Confirm
META CAPI GATEWAY
ACCOUNT SETTINGS
User roles and accessSSO
SERVER-SIDE TRACKING
Get started
Get started with TAGGRSSet up Google Tag ManagerConfigure the subdomainAdd 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 TagsInstall Offline Conversions
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events Deduplication
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 integrationProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Approval GraphPOAS Tracking Connector
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side TrackingSpectacle Server-side TrackingDPG Media Server-side TrackingEulerian Server-side TrackingSame origin tracking with Cloudflare
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 AxeptioConfigure Cookie Confirm
META CAPI GATEWAY
ACCOUNT SETTINGS
User roles and accessSSO
SERVER-SIDE TRACKING
Get started
Get started with TAGGRSSet up Google Tag ManagerConfigure the subdomainAdd 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 TagsInstall Offline Conversions
Facebook Server-side Tracking
Set Meta PixelImprove your EMQ ScoreInstall Meta CAPIMeta Events Deduplication
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 integrationProfit TrackingData Enricher ToolWebhooks TesterEnhanced Tracking ScriptMulti Domain ToolClick ID RecoveryConsent Approval GraphPOAS Tracking Connector
Configurations
Billy Grace Server-side TrackingLeadPages Server-side TrackingPiwik PRO Server-side TrackingCDN Server-side TrackingShopify Server-side TrackingActiveCampaign Server-side TrackingKlaviyo Server-side TrackingSpectacle Server-side TrackingDPG Media Server-side TrackingEulerian Server-side TrackingSame origin tracking with Cloudflare
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 AxeptioConfigure Cookie Confirm
META CAPI GATEWAY
ACCOUNT SETTINGS
User roles and accessSSO