GA (analytics.js) custom dimension mapping

Gold Contributor
Gold Contributor

Hi,

I've a click functionality that triggers 2 different events with different event label and event name but the same event action and category. Now if I would like to add a custom dimension to only one of the events, how do I go about doing it via data mapping? I've it currently mapped as link type to dimension 51. But this seems to add dimension 51 to both events happening on the click. 

cd51_mapping.JPG

Thanks!

1 REPLY 1

GA (analytics.js) custom dimension mapping

Community Manager
Community Manager

@AS To clear mapped dimensions for each tracked event, turn on the Clear Vars setting. Also, check the status of the template to make sure you have the latest version. There was a fix in the template specifically to clear mapped dimensions when Clear Vars is on.

Remember to "Accept as Solution" when your question has been answered and to give kudos to helpful replies.
Public