Ecommerce parameter is shown as [object Object] in GA4

I have successfully created the connection between wGTM and sGTM using the Data Client client in sGTM. I’m now testing the view_item event with the dataLayer. I have successfully passed that DL to the sGTM, and I can see it in the Event Data tab

Now, when I look at the Real Time reports on GA4, I see that the ecommerce parameter is shown as [object Object]:

I thought that this data would be automatically mapped in GA4 as standard e-commerce data and would show up in the Ecommerce Purchases, Funnel and other Ecommerce tables, but it’s empty there. From what I understand, GA4 does not understand that ecommerce object automatically and cannot extract and map data.

Could someone explain how to map the data from sGTM Event Data to GA4 correctly?

Short answer is you want to use GA4 tags and GA4 client for everything to happen out of the box as you expected.

The route with Data Tag is much more complex and requires a lot of intricate data mapping.

Do you know if there is any kind of guide that would show how to pass the ecomm data from sGTM to GA4 then?

You need to use the GA4 tag on the web container, not the Data tag, and everything will work without any problems.
There are quite a few guides and videos about this:

Use Data Tag to transfer data to any non-Google platforms (Meta, TikTok, etc.).

1 Like