View Single Post
Old 05-01-2021, 05:35 AM  
ravo
Confirmed User
 
ravo's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Skype: ravo.fpctraffic
Posts: 5,443
Quote:
Originally Posted by EddyTheDog View Post
Another really good video - About halfway through he starts talking about custom events...
Thank you!

Quote:
Originally Posted by Kafka View Post
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>
GA4 doesn't require any change in coding - it can all be done from the GA4 dashboard. That's the beauty of it. Any changes you make in the dashboard can be propagated across your whole site, or even across domains.
__________________
AdultAdBroker - Buy and Sell Your Flat Rate Banners, Links, Tabs, Pops, Email Clicks and Members' Area Traffic - updated August 2025
ravo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote