Highlighted

I currently have about 6 UDO variables being passed along with my utag.link. I would like to map two of them as EventCategory and EventAction in Google Analytics and the rest of them as custom dimensions (dimension1, dimension2..). Is this possible?

Rookie Contributor
 
3 REPLIES 3
Highlighted

I currently have about 6 UDO variables being passed along with my utag.link. I would like to map two of them as EventCategory and EventAction in Google Analytics and the rest of them as custom dimensions (dimension1, dimension2..). Is this possible?

Employee Emeritus
p.p1 {margin-bottom:18px;font-family:'Helvetica';font-size:18px;} span.s1 {color:#000000;} This is perfectly possible and as designed. Assuming variables var1 - var6 in the utag.link call then in your google Analytics tag: Make sure var1 - var6 are defined in the Data Layer tab as type UDO Variable 1. Open the mapping toolbox by clicking the edit button from the mapped data sources section 2. From the mapping toolbox, select var1 from data source drop down and then click select destination. Find event category on the event tab and click ok. 3. Repeat for remaining variables, mapping to your desired destination.
Highlighted

I currently have about 6 UDO variables being passed along with my utag.link. I would like to map two of them as EventCategory and EventAction in Google Analytics and the rest of them as custom dimensions (dimension1, dimension2..). Is this possible?

Rookie Contributor
Thanks, Clint! I've done this for the event variables in Google Analytics i.e. category and action. They are being tracked in my Google Analytics profile. The custom dimension associated with the event however is not being captured. Are there any specific reasons why this could be happening?
Highlighted

I currently have about 6 UDO variables being passed along with my utag.link. I would like to map two of them as EventCategory and EventAction in Google Analytics and the rest of them as custom dimensions (dimension1, dimension2..). Is this possible?

Employee Emeritus
Swathi, Have you been able to verify the custom dimensions are getting set in the request that sends the data to Google? It would look similar to the following picture. I'm trying to narrow down what could be happening. If you can see the data in the server request then there may be something in the GA account not set up correctly. Keep in mind that there are limits to how many custom variables you can use. So the problem could just be that the data is getting assigned to a variable that isn't unlocked in the account. Here are the limits: Custom Variable Slots: Standard/Legacy (ga.js) - 5 Universal (analytics.js) - 40 (20 custom dimensions/20 custom metrics) Premium - 50 Advanced Segments Standard/Premium - 100