Assigning a Click ID for Google Tag Manager tracking

Hi,

When in preview mode on Google Tag Manager it shows you variables which you can use to track an element, one of these variables is ‘Click ID’.

The Click ID appears for some Pro elements, like the accordion element for example, but not the buttons.

My question is - is there a way to assign a unique ID to a button that is readable by Google Tag Manager so I can track them based on the unique ID, not the element text or other variables?

Cheers

Hi @TarmacWebTeam,

You can set the ID for each accordion item under Customize tab, for example:

Then you will have a unique ID for the button:

#my-item-1 button

Hope it helps :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.