Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 04-30-2021, 11:51 AM   #1
ravo
Confirmed User
 
ravo's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Skype: ravo.fpctraffic
Posts: 5,439
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>
How do I create a custom event for that button click? What "parameter" do I use for that?
__________________
AdultAdBroker - Buy and Sell Your Flat Rate Banners, Links, Tabs, Pops, Email Clicks and Members' Area Traffic - updated June 2025
ravo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2021, 02:57 PM   #2
baodb
Confirmed User
 
Industry Role:
Join Date: Jan 2021
Posts: 103
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.
baodb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2021, 08:37 PM   #3
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,041
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......

__________________
-

Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels
EddyTheDog is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-30-2021, 11:40 PM   #4
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,041
Another really good video - About halfway through he starts talking about custom events...

__________________
-

Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels
EddyTheDog is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2021, 01:25 AM   #5
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
Old 05-01-2021, 05:35 AM   #6
ravo
Confirmed User
 
ravo's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Skype: ravo.fpctraffic
Posts: 5,439
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 June 2025
ravo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2021, 09:07 AM   #7
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
So, does that mean you can now buy traffic on FPC traffic based on GA data ?
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-01-2021, 09:25 AM   #8
ravo
Confirmed User
 
ravo's Avatar
 
Industry Role:
Join Date: Jun 2001
Location: Skype: ravo.fpctraffic
Posts: 5,439
Quote:
Originally Posted by Klen View Post
So, does that mean you can now buy traffic on FPC traffic based on GA data ?
Yes, we have been offering this for a while now...

See https://gfy.com/sell-and-buy-forum/1...ga-counts.html
__________________
AdultAdBroker - Buy and Sell Your Flat Rate Banners, Links, Tabs, Pops, Email Clicks and Members' Area Traffic - updated June 2025
ravo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
event, button, click, custom, page, specific, creating, hard, time, html, create, parameter, account, code, below;, free, ga4, cool, pretty, playing, analytics, google, experts, started, amount



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.