Fire a tag on the 3rd pageview with Google Analytics 4 and Google Tag Manager
Вставка
- Опубліковано 27 чер 2024
- Learn how to send an event to Google Analytics 4 when a visitor views 3 pageviews. This solution will require creating a cookie and then counting the number of page views with it.
=== LINKS ===
Subscribe to our UA-cam channel / @analyticsmania
✭ Custom code used in this video
gist.github.com/ju1/5160a6244...
⭐⭐ Google Analytics 4 course ⭐⭐
www.analyticsmania.com/course...
📕 Free e-book: Getting Started with Google Analytics 4
www.analyticsmania.com/p/gett...
✭ How to install Google Analytics 4 (3 ways)
www.analyticsmania.com/post/h...
=== CONNECT WITH JULIUS & ANALYTICS MANIA ===
✭ Facebook / analyticsmania
✭ Twitter / fedorovicius
✭ Linkedin / fedorovicius
Subscribe to our UA-cam channel / @analyticsmania
#googleanalytics #googleanalytics4 #googletagmanager - Наука та технологія
Great video, as usual! Thanks, might test it tonight 👍
Great Video man
Thanks for sharing!
great tips, you are my hero
This is great! However, what is the use case for this? When to use this?
An example to be replicate a "Number of pageviews" goal you had in Universal Analytics.
@@AnalyticsMania Thank you :-)
Hey one question, does the counter resets somehow? Or can a user only fires this tag once and then never again?
Hi JULIUS, a question, I'm receiving the data in my google analytics and I can see all data, is possible to set a google tag or make a "fire" when someone arrive from pinterest ads and when they buy a product on my etsy store and trigger the pinterest tag to make pinterest understand that that unit was sold from pinterest?
Would be interesting to see what you plan for this solution would be with google analytics enhance pings. cookieless analytics, surely you cant set this as a cookie at that point as they might have rejected perfromance / analytics cookies. Could you not do the same with Local storage or session storage?
Why don't you just create a GA4 custom audience to include users when Views = 3 and an Audience Trigger to log an event?
Audience triggers will greatly increase "unassigned" sessions in your property. I am now avoiding it. Plus, audience triggers will have fewer event parameters compared to events sent from your tracking code
Hi JULIUS, could you please tell me , is there necessary to event_time parameter send in event . means i go each and every event tag and set event_time parameter or my purpose will be done just set event_time parameter in ga4 configuration tag. means base tag ... i hope you could understand what i m asking you ...
while it's not necessary to set the event_time parameter for each event separately, setting it in the GA4 configuration tag can fulfill your purpose effectively, and you can override it for specific events if needed