How to access parent element's ID with .closest() in Google Tag Manager

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ม.ค. 2025

ความคิดเห็น • 9

  •  ปีที่แล้ว

    Recently a technical guy explain (he was coding quickly...) me this procedure for example to get the title of a blog post. It was very technical and he used Jquery library - and call/name the process "bubbling" :D.
    Nicely done and very usefull video, Julius! Thanks.

  • @ianchien1749
    @ianchien1749 ปีที่แล้ว +2

    Hi, Julius, thank you for sharing.
    I have a question: Does having too many JS variables affect the page loading speed?

  • @GuilhermoLuna
    @GuilhermoLuna 11 หลายเดือนก่อน

    Amazing.
    Thanks.

  • @MarcovandeMeulenhof
    @MarcovandeMeulenhof ปีที่แล้ว

    Nice video again Julius! Why not get the value of data-form_id with .val() instead of .dataset.form_id? Easier to understand and read in my opinion. Keep up doing those videos... I am a fan!

    • @AnalyticsMania
      @AnalyticsMania  ปีที่แล้ว +2

      There are different ways to achieve the same result :)

  • @follow_the_rabbit
    @follow_the_rabbit ปีที่แล้ว

    Hey Julius, thank u for video. Im in a common with u since 2020 :D
    Is there possibility nowadays to track users with adblock? I know few years earlier I've introduce that in one of my container but nowadays it seems that I need server side. What do You think guys?

  • @LorenzoMallaci
    @LorenzoMallaci 9 หลายเดือนก่อน

    Hi Julius, great video! Is it possible that this only works on a form that shows a success message but also keeps displaying the form itself without switching it to display:none after submission? I've been following each single step and always kept getting an "undefined" result in my variable. I've tried to change it to track something from inside the success message element and now it works. Just wondering if the display:none could affect the results?

    • @AnalyticsMania
      @AnalyticsMania  9 หลายเดือนก่อน

      If messgae disappears after several seconds, it should not affect

  • @marcobruni5402
    @marcobruni5402 8 หลายเดือนก่อน

    Cool!