Logo of TAGGRS, written in blue and with a small favicon
HomeServer-side TrackingMeta CAPI GatewayJoin the competition
SERVER-SIDE TRACKING
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 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 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 TrackingSpectacle Server-side TrackingEulerian 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 AxeptioConfigure Cookie Confirm
META CAPI GATEWAY
ACCOUNT SETTINGS
User roles and access

Magento Data Layer Extension

This guide explains how to install and configure the TAGGRS Magento Data Layer Extension for server-side tracking. It aims to enhance your Magento ecommerce data accuracy and control, minimizing data loss due to browser restrictions and ad blockers, while supporting privacy compliance.
White logo of Magento
Download the extension
icon of a white upward arrow

Extension features

  • Integrates easily with Google Tag Manager
  • Based on the GA4 Data Layer Protocol
  • Compatible with Server-side Tracking (sGTM/TAGGRS)
  • Supports enhanced conversions
  • Distinguishes between first-time and returning customers

Measurable events

Logo of TAGGRS Server-side Tracking: a light blue circle with two blue angle brackets
view_item_list
view_item
add_to_cart
remove_from_cart
view_cart
select_promotion
start_checkout
purchase

Configuration

Download the extension

Download the Magento Data Layer Extension in the Adobe's Commerce Marketplace.

Install on your website

  1. Enable your Magento store's maintenance mode

    bin/magento maintenance:enable

  2. Add the extension using Composer.
  3. Activate the module and update the database.

    bin/magento setup:upgrage

  4. Compile the dependency injection.

    bin/magento setup:di:compile

  5. Distribute static content.

    bin/magento setup:di:compile

  6. Turn off the store's maintenance mode.

    bin/magento maintenance:disable

Open the extension

After installation within the Magento Admin, go to Store and choose Configuration here.

Update the settings in Google Tag Manager

Next, select the TAGGRS Data Layer extension. Then you can fill in the following points. Note that not all points are mandatory.

  • Google Tag Manager Code: enter your web container ID here
  • Google Tag Manager URL: Enter your subdomain here including https://
  • Measurement API secret: Do you want to use Webhooks? With the measurement API, you can close the gap of datalayer event on thank you page by sending a webhook to GA4. This makes GA4 100% accurate in terms of ecommerce. This then only involves the purchase event. Check out a tutorial on Measurement API Secret here
  • Measurement API - Measurement ID: GA4 measurement stream code; Example: G-1234567890
  • Debug mode: Once you turn this on, the datalayer is displayed within your element inspect console. This allows you to easily see what you are passing to GTM.

Then click Save Config to save the changes.

Configure events

  1. Choose which events you would like to measure by selecting Yes and No.
  2. Click Save Config to save the changes.

Testing

  1. Go to the Google Tag Manager preview mode.
  2. Create an event, then click on data layer and here you will see your Magento data coming in nicely structured.
  3. Make sure all tags and triggers in Google Tag Manager are set up correctly to forward data to your analytics platforms.

Technical benefits

Magento 2.4+ Optimized
The TAGGRS Extension is compatible with PWA Studio and Hyvä themesenson
Data enrichment
Automatically appends user_id, store_view_code
Performance
<0.2ms event processing overhead

Useful resources

Google Analytics logo in white on a transparent background.
Learn more about the GA4 Data Layer Protocol
icon of a white upward arrow
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
Shopware Data Layer
Next
WooCommerce Data Layer
DOCUMENTATION V1.4
Copyright © 2026 TAGGRS. All right reserved.
TABLE OF CONTENTS
Extension featuresMeasurable eventsConfigurationTechnical benefitsUseful resources