Support home / Event conversions
Track link clicks
There are two ways to fire off an event when a person clicks a link on your site. The first is to add an onclick to the ahref tag, like so:
About Us
The second way is used if you want to target any/all elements on a page with a specific ID or CLASS. In this method, ensure the javascript code for your events appears after any/all IDs or CLASSES.
Let’s say you want to fire off an event when a customer clicks a link that looks like this:
About us
To do this, you’d add the following script somewhere below the link above (typically just above the element).