Google Analytics (gtag) and product level custom dimensions

Bronze Contributor
Bronze Contributor

We are migrating from GA analytics.js to GA gtag.js in Tealium. 

We need to map a js variable which is a list to a product level custom dimension for product impressions. 

However it does not seem to work in gtag and only works for analytics.js.

Below is the setup of the mapping.

Screen Shot 2018-09-11 at 4.25.40 pm.png

Please advice, much appreciated.

3 REPLIES 3

Google Analytics (gtag) and product level custom dimensions

Bronze Contributor
Bronze Contributor

Hi

I was having problems with that one as well. I added 4 Custom Dimensions, but they were either not filled, or all were filled with the same value, while 4 different values were correctly available.

Naming the Dimensions solved that issue for me. You can add the name in the filed 'Name', or just as cdm.dimension17-YOUR_DIM_NAME_HERE-ecom.

I hope that solves your issue as well.

Google Analytics (gtag) and product level custom dimensions

Bronze Contributor
Bronze Contributor

Hi,

That works for me but I have an issue with custom metrics. Migrating custom metrics they don't took values. Similar to customs dimensions I named de mapper as cdm.metricX-MY_METRIC_NAME-link where X is the number of the custom metric.

Anyone had this issue and knows how to fix it?

Thanks

 

Google Analytics (gtag) and product level custom dimensions

Silver Contributor
Silver Contributor
Set event type to product scoped and set a name - worked for me :)
Public