Exercise 2:
measure an outbound link click on this link to simoahava.com
Use a Google Analytics event tag with the following settings:
- event category: outbound links
- event action: click link
- event label: the clicked URL
2.1 Now change the event action so that you get the clicked text there.
2.2 Now try and get the data-gtm element that is part of the link in a variable in gtm. So, make a variable that returns the data-gtm information of link clicks