View Single Post
Old 05-01-2021, 01:25 AM  
Kafka
Confirmed User
 
Kafka's Avatar
 
Join Date: Oct 2002
Location: Holland
Posts: 466
In your ga.js (google analytics) file make a function like:

function trackYourClick(){
ga('send', 'event', 'ClickedLink', 'click')
}

Put in your link: onclick="trackYourClick()"
in your case:

<a href="#" class="reg" onClick="joinpage.style.display = 'block';trackYourClick();return false;">free account</a>
Kafka is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote