![]() |
Any Google Analytics 4 experts here?
I've started playing around with GA4 - it's pretty cool the amount of info you can pull out of it.
I've set up one custom event so far (when users hit a certain page), but I'm having a hard time creating a new event for a specific button click. My HTML code is as below; Code:
<a href="#" class="reg" onClick="joinpage.style.display = 'block';return false;">free account</a> |
If you can gather and process the event data with GTM and then pass the values to GA. You will find more tutorials and guides for GTM and with the native GA 4 support it ends up doing the same as doing it native with GA.
|
Just started playing with it as well - This video really helped - The bit that references your 'event trigger' question starts at around 6 mins - But I would watch it all especially if you haven't had a lot of experience with tag Manager......
|
Another really good video - About halfway through he starts talking about custom events...
|
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> |
Quote:
Quote:
|
So, does that mean you can now buy traffic on FPC traffic based on GA data ?
|
Quote:
See https://gfy.com/sell-and-buy-forum/1...ga-counts.html |
All times are GMT -7. The time now is 04:31 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123