What is the best way to add onclick incline event tracking to Link Elements?
What is the best way to add onclick incline event tracking to Link Elements?
At a glance
The community member is using Gosquared instead of Google Analytics and is trying to add inline tracking to Link elements, similar to the example provided for a button. The comments suggest that there is no built-in way to add event listeners to links, except through an HTML embed. One community member suggests creating a global event listener and checking if the clicked element is a link, while another community member is unsure where to install the tracking in the settings tab. There is no explicitly marked answer in the provided information.
I'm not even to that point yet since I am not sure where to install it in the settings tab on the element itself. I know I could put in custom code through an HTML embed but I was trying to do it through the default elements.