GA4 - Ecom Items to String or Sum Values

Community variable by gtm-templates-knowit-experience

What is GA4 - Ecom Items to String or Sum Values?

This Variable 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 Values (e.g 3).

GA4 - Ecom Items to String or Sum Values variable is created by gtm-templates-knowit-experience. Once you set up server side tagging with MetricsGate, you can use this variable with Google Tag Manager to enhance your data analytics.

This variable template is part of an open-source community, with its source code accessible on Github, and its documentation can also be found online.

You can check its version history below:

  1. Initial release.

More tags and variables supported

Tags

Variables

Join early adopters globally and leverage server-side tagging, GA4 custom events, and cookieless tracking to gain deeper insights and enhanced analytics data about your visitors!

Get Started now