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
  • Наука та технологія

КОМЕНТАРІ • 14

  • @AntonioCapone83
    @AntonioCapone83 3 місяці тому +2

    Great video, as usual! Thanks, might test it tonight 👍

  • @user-gp5xz
    @user-gp5xz Місяць тому

    Great Video man

  • @teto1911
    @teto1911 3 місяці тому +1

    Thanks for sharing!

  • @abdqz5370
    @abdqz5370 3 місяці тому

    great tips, you are my hero

  • @AbdullahAlAsif
    @AbdullahAlAsif 3 місяці тому +3

    This is great! However, what is the use case for this? When to use this?

    • @AnalyticsMania
      @AnalyticsMania  3 місяці тому +5

      An example to be replicate a "Number of pageviews" goal you had in Universal Analytics.

    • @AbdullahAlAsif
      @AbdullahAlAsif 3 місяці тому +1

      @@AnalyticsMania Thank you :-)

  • @Alexander-u8e
    @Alexander-u8e 3 дні тому

    Hey one question, does the counter resets somehow? Or can a user only fires this tag once and then never again?

  • @Beardbunny
    @Beardbunny 3 місяці тому

    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?

  • @00kennedyp
    @00kennedyp 3 місяці тому

    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?

  • @sharmaritvik
    @sharmaritvik 3 місяці тому +1

    Why don't you just create a GA4 custom audience to include users when Views = 3 and an Audience Trigger to log an event?

    • @AnalyticsMania
      @AnalyticsMania  3 місяці тому +5

      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

  • @user-jy3sc5pt1t
    @user-jy3sc5pt1t 2 місяці тому

    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 ...

    • @ashishtripathi4814
      @ashishtripathi4814 2 місяці тому +1

      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