I need to configure GA4 ecommerce event for a full integration inside conversion tab in the new Google Analitycs version. I have a tag manager configured with some custom variables to get dataLayer from checkout process and other things. I need to get this DataLayer value to use it in GA4 event.
My current event is called 'InitiateCheckout' and has this DataLayer:
{
event: 'InitiateCheckout',
gtm: {
uniqueEventId: 13,
start: 1615035423900,
scrollThreshold: 90,
scrollUnits: 'percent',
scrollDirection: 'vertical',
triggers: '1_33'
},
gtag: {targets: {AW-412426139: {}}},
content_name: 'Product 123A',
value: '9.99',
currency: 'EUR'
}
I need to extract 'content_name', 'value' and 'currency' to compile 'begin_checkout" GA4 events as mentioned in the official guide. When i start my configuration i can't figure a way out to insert this data as a value of the event parameter. How can i call it?
Unfortunately I can't change the name of the events I'm already recording to match the GA4 events features, the platform doesn't allow this so I need to find a way to get this value from another event.
GA4 event parameters Tag Manager current Event DataLayer preview