GTM Variable template to generate GA4 purchase custom object from standard ecommerce data layer
-
Updated
Nov 12, 2022 - Smarty
GTM Variable template to generate GA4 purchase custom object from standard ecommerce data layer
Variable Template (Web) for Google Tag Manager that turns GA4 Ecommerce Item array (e.g. [{item_id: '12', quantity: 1},{item_id: '34', quantity: 2}]) into a string (e.g. '12|34'), or sums Item Values (e.g 3).
Custom Variable Template for Google Tag Manager
GTM Template Variable (Web) that converts GA4 Ecommerce to GA Enhanced Ecommerce.
send events via GA4 Measurement Protocol (Custom Tag Template for Server-Side Google Tag Manager)
GTM Tag Template (Web) that breaks GA4 Ecommerce Items or GA EEC Impressions payload into smaller chunks.
Variable Template (Web) for Google Tag Manager that returns GA4 Ecommerce Items as Data Layer Variable Version 1. This ensures that GTM will only access the most recent Item push into the Data Layer.
Variable Template (Server) for Google Tag Manager that makes it possible to Attribute GA4 Item List, Promotion & Search Term to revenue or ecommerce Event's (ex. purchase).
GA4 Advanced tag for Google Tag Manager Server Side
Variable Template (Web) for Google Tag Manager that makes it possible to Attribute GA4 Item List, Promotion & Search Term to revenue or ecommerce Event's (ex. purchase).
GTM Template Variable (Web) that creates either GA4 Events or GA4 Ecommerce Objects based on the Enhanced Ecommerce Object.
Add a description, image, and links to the ga4 topic page so that developers can more easily learn about it.
To associate your repository with the ga4 topic, visit your repo's landing page and select "manage topics."