gtm-templates-knowit-experience / gtm-ga4-ecom-items-to-string-sum-values-variable Goto Github PK
View Code? Open in Web Editor NEWVariable 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).
License: Apache License 2.0