#GTMTips: Use Click Variables With Element Visibility Trigger
The tip is this: If you’ve activated the built-in Click variables, they will be automatically populated with details about the element that caused the Element Visibility trigger to activate!X
The Simmer Newsletter
Subscribe to the Simmer newsletter to get the latest news and content from Simo Ahava into your email inbox!
Tip 92: Use Built-in variables to analyze the visible element
Yes, it’s confusing they’re still named Click variables, especially since they’re duplicated in the Form variables, and even more so since they can be used with the Element Visibility trigger to identify which element became visibility.
But that doesn’t matter. What matters is that this is extremely useful especially if you’ve specified a CSS selector in your Element Visibility trigger, and the selector matches more than one element.
Short and sweet this time, have a nice week!