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

Set up transformations

This guide details how to implement and manage transformations in Google Tag Manager (GTM) for Server-side Tracking with TAGGRS. At the bottom of the page, we included links to more in-depth resources about transformation types and practical applications so you can explore further as needed.
Favicon of TAGGRS Server-side Tracking
Typical use cases of trasformations in Google Tag Manager include filtering, modifying, or enriching data to improve data quality, enforce privacy compliance, and optimize event payloads for downstream analytics tools.

Create a new transformation

1.
Log in to Google Tag Manager.
2.
Select the relevant server-side container.
3.
In the left navigation, select Transformations.
4.
Click New to create a transformation.
what transformation look like in Google Tag Manager

Select transformation type

Choose from "Allow Parameters", "Exclude Parameters", or "Event Enrichment" based on your requirements.

GTM trasformazione types

For the demonstrative purpose of this guide, we chose "Event Enrichment E-commerce".

transformation types in Google Tag Manager

Configure parameters

1.
Specify which parameters to allow, exclude, or enrich.
2.
For enrichment, define the new parameter values or reference external data sources as needed (e.g., Firestore for e-commerce enrichment).
configuring the parameters of your transformation

Set priority

1.
Assign a priority to the transformation if multiple transformations could apply to the same data. Higher values are evaluated first.
setting priority to your transformation in Google Tag Manager
2.
If not set, the default evaluation order is: Allow Parameters → Event Enrichment → Exclude Parameters.

Set matching conditions

Define when the transformation should apply (e.g. always, or only when certain conditions are met).

setting matching conditions to your transformation in Google Tag Manager

Link to Tags

Specify which tags the transformation should apply to. If left blank, the transformation applies to all tags in the container.

setting priority to your transformation in Google Tag Manager

Test in Debug Mode

1.
Open debug mode in both your web and server containers.
2.
Trigger relevant events on your site or via tools like Postman.
3.
Use the GTM debug interface to verify that transformations are applied as expected.
E-commerce parameters in FIrestore

Publish

Once verified, publish the updated server container to make the transformation live.

Best practices

  • Use transformations to enforce privacy by default: exclude or mask all PII unless explicitly needed.
  • Regularly audit transformation configurations to ensure compliance and data quality.
  • Test all changes in a controlled environment before deploying to production.

Transformation types

Transformation types in Google Tag Manager
Allow Parameters
Whitelist specific parameters to include in the event data object. Only these parameters will be processed and sent downstream.
Exclude Parameters
Blacklist specific parameters to remove from the event data object. Use this to strip out sensitive or irrelevant data.
Event Enrichment
Add or modify event data parameters. Useful for injecting additional context, correcting data, or appending values from external sources.

Practical applications

Data Anonymization
Mask IP addresses or other identifiers before analytics ingestion.
Data Enrichment
Add user segmentation, geolocation, or custom attributes to events.
Validation and Correction
Check and correct event data in real time.
E-commerce Data Augmentation
Enhance purchase events with additional product or transaction details.
Parameter Filtering
Remove redundant or non-compliant fields from event payloads.

Useful resources

Check Google documentation on GTM transformations

Find expert support
Previous
Set up Data Layer
Next
Test your setup
Copyright © 2025 TAGGRS. All right reserved.
TABLE OF CONTENTS
Create a new transformationConfigure parametersSet prioritySet matching conditionsLink to TagsTest in Debug ModePublishBest practicesTransformation typesPractical applicationsUseful resources