Click Element Variable in Google Tag Manager (how to use it correctly)

  Рет қаралды 47,469

Analytics Mania - Google Analytics & Tag Manager

Analytics Mania - Google Analytics & Tag Manager

Күн бұрын

Click Element variable is confusing and can be misleading. Learn how to use it properly in Google Tag Manager.
Many beginners are doing mistakes here because GTM's preview mode is a bit misleading and it displays the Click Element variable in the wrong way. I will show you what's under the hood.
=== LINKS ===
Subscribe to our KZbin channel / @analyticsmania
✭ Intermediate-Advanced Google Tag Manager course
www.analyticsm...
✭ Click Element Variable in Google Tag Manager
www.analyticsm...
✭ Video: Click Tracking with Google Tag Manager (includes wildcard CSS selector)
• Button Click Tracking ...
📕 Free Google Tag Manager e-books:
www.analyticsm...
📕 Free e-book: How to get started with Google Analytics 4
www.analyticsm...
✭ Guide: Wildcard CSS selector
www.simoahava....
✭ Guide: CSS selectors in Google Tag Manager
www.simoahava....
=== CONNECT WITH JULIUS & ANALYTICS MANIA ===
✭ Facebook / analyticsmania
✭ Twitter / fedorovicius
✭ Linkedin / fedorovicius
Subscribe to our KZbin channel / @analyticsmania
#googletagmanager #googleanalytics4

Пікірлер: 71
@withmikes
@withmikes 3 жыл бұрын
Bravo! This is one of the few videos out there that truly isn't just a walkthrough of the documentation.
@ChristianSmallman-s8j
@ChristianSmallman-s8j Жыл бұрын
Hi Julius, thanks for the video! I was stuck for hours thinking there was a bug in gtm for the asterisk * Wildcard, because none of the blogs I read made it clear that you need a space before the asterisk and it's hard to see it in written text. It was only when I watched this video and physically heard you say "then enter space, asterisk" that the penny dropped! So just in case anyone else is also here for this, the SPACE IS IMPORTANT!
@iamleek
@iamleek 8 ай бұрын
Thank you for highlighting the SPACE. yes many time space is important.
@alif.mahmud
@alif.mahmud Жыл бұрын
Thanks, I wasted more than 2 hours thinking that it's a string. Thanks again for your awesome video ...🎉
@brettsaffer4790
@brettsaffer4790 2 жыл бұрын
Thanks for this. This is the best video I have seen so far that accurately and easily explains click elements and how to best capture relevant information pertaining to them using GTM, the console as well as the datalayer, and how it pertains to creating a trigger in GTM. Great job!
@renzocervantes6270
@renzocervantes6270 Ай бұрын
Thanks, I didn't lose my job because of this video
@ketoburner8690
@ketoburner8690 2 жыл бұрын
Thank you my friend, that was a really nice explanation. Thank god im a web developer i understood everything.
@elmahdichaker1207
@elmahdichaker1207 Жыл бұрын
Thank you a lot 👍. Your videos are unique and helpful. I can only find an explanation for some hidden options or features on Google Tag Manager in your channel. Keep going 💪
@kemvichet3185
@kemvichet3185 3 жыл бұрын
Such a great video that yesterday as GTM beginner i cant sleep cause i cant make thing done but your video address the solution, has ha, looking to get your intermediate course soon, wish your course to be on Black Friday soon.
@angelahu5215
@angelahu5215 2 жыл бұрын
Thank you so much! I couldn't find another video that solves this problem. You make my work so much easier. Thank you !!!
@hyojeong2091
@hyojeong2091 2 жыл бұрын
Super thanks..... I've been finding for the solution and this video is actually the one that I've been looking for... Thanks!
2 жыл бұрын
Danke!
@lolzeinab
@lolzeinab Жыл бұрын
I love you man, you saved my mental health
@juandiegocalero4553
@juandiegocalero4553 2 жыл бұрын
Daaaayum mate, thanks a lot, adding the css selector plus coma plus asterix is something that i did not expected to do XD. OMG, thanks a bunch
@tcai5341
@tcai5341 2 жыл бұрын
Thank you! Was stuck on this for a while. Appreciate your help 🙏
@MrOron
@MrOron 2 жыл бұрын
One of the best GTM videos!
@SoumenMondal-wu8pn
@SoumenMondal-wu8pn 9 ай бұрын
Thanks a Bro, It really helps me, I lost many times through this, Thanks again bro
@renanpocahy9810
@renanpocahy9810 2 жыл бұрын
cara, só tenho a agradecer. seu vídeo meu ajudou demais! estava com uma dificuldade enorme e sua explicação resolveu meu problema. muito grato!
@shaanquadri4704
@shaanquadri4704 2 жыл бұрын
Excellent help really, especially the last tip. Your videos are very useful for non-technical people like me.
@FedericoNahmad
@FedericoNahmad 3 жыл бұрын
I finally understood the wild card! Thanks! 👌
@MrChrisJ74
@MrChrisJ74 2 жыл бұрын
Very helpful I was trying to use anonymous functions to return text values but alot can be done with the data layer variable
@ArtisBMX
@ArtisBMX Жыл бұрын
legend! Totally saved me here! Some really throural explanations
@FIoydMayweather
@FIoydMayweather Жыл бұрын
This video fixed my problem with this stupid tool in 5 minutes, after debugging for like an hour testing nearly every option lmao
@isidoraarriagada5015
@isidoraarriagada5015 2 жыл бұрын
Thank you very much, you saved me! your tutorials are the best!
@Carlismusic
@Carlismusic 3 жыл бұрын
I Have no reasons to not subscribe after view this video. Thanks man
@patvertise
@patvertise 2 жыл бұрын
Thanks! I also could use the Click text as a trigger right??
@marcinmarcin6393
@marcinmarcin6393 2 жыл бұрын
You are pure gold! Thank you for your amazing tips!
@romilsonbragateixeira6048
@romilsonbragateixeira6048 Жыл бұрын
Thank you very much! Well explained
@gideondelayahu6703
@gideondelayahu6703 3 жыл бұрын
Great video - thank for the tips - particularly the parent element ID - love it!
@taranox_silberschmuck
@taranox_silberschmuck 10 ай бұрын
Thank you so much, for this great video! Much appreciated!
@RyanMendenhallSEO
@RyanMendenhallSEO 3 жыл бұрын
Brilliant Julius! Thanks for walking through that! When would you use the options other than Click Element, like click id, click class, etc in GTM All click elements trigger?
@aldringonzalgo6437
@aldringonzalgo6437 3 жыл бұрын
Awesome video! Thanks for the super clear explanation, Julius!
@shyamthakur1201
@shyamthakur1201 3 жыл бұрын
Great video as always sir ....... first one to comment on this
@Damien-c9s
@Damien-c9s Жыл бұрын
Hi Julius, Can you use a class name as a page view trigger in GTM? For example, we have many pages in our checkout process which our developers assigned unique class names to. I'd normally use these classes by assigning a click class trigger in GTM however they aren't applied to any buttons, i.e. when the user clicks 'next' for example. Hope this makes sense. Thanks.
@ricp
@ricp Жыл бұрын
great video, man!
@chinughataliya2883
@chinughataliya2883 2 жыл бұрын
Thanks for the clear and detailed explanation!
@benjibo9476
@benjibo9476 Жыл бұрын
Man you are awesome! Thank you
@russcastella
@russcastella 3 жыл бұрын
Wow thank you. It was driving me nuts
@RivalD666
@RivalD666 2 жыл бұрын
This was very helpful, thank you!
@danielcjuno2851
@danielcjuno2851 Жыл бұрын
Thank you very much, works and is practical.
@PossessWithin
@PossessWithin Жыл бұрын
This was extremely helpful, thank you
@DouweTjerkstra-m5y
@DouweTjerkstra-m5y Жыл бұрын
great video, thanks!
@rafaelbp279
@rafaelbp279 2 жыл бұрын
It's possible to track variable attributes? I have 10 different images with different links. When I create track some clicks, I can't leave the field blank after the operator, since it's an variable attribute. any tips?
@articgoneape
@articgoneape 3 жыл бұрын
Referring to your second example in the video, I set it up (Just Links, All Clicks), when I click the link on my page, the "Link Click" appears in google tag assistant but when I go to the console and type "dataLayer" and hit enter, I am only seeing gtm.js, gtm.dom, and gtm.load. Any reason why the gtm link click is not appearing? Thanks!
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
Page reloaded, dataLayer was wiped out
@articgoneape
@articgoneape 3 жыл бұрын
@@AnalyticsMania Thank you so much!! That was very helpful :) I was able to get it setup! YAY!!!!!
@trideviataya
@trideviataya 3 жыл бұрын
Hello, Julius. I do everything according to this video, but I doesn't have click element in the summary at all. If I choose "links click" it will fire whenever link is clicked, but when I choose "elements click" it won't show anything. The second problem is that I don't have variables tab in the preview mode, there are Hits Sent, Data Layer and Errors, but no Variables. Could you suggest what is wrong here?
@arnaurojals3079
@arnaurojals3079 3 жыл бұрын
Very useful. Thank you 👍
@lothergalante
@lothergalante Жыл бұрын
Obrigado senhor pelo seu vídeo, me ajudou bastante!
@andrewschaeffer4438
@andrewschaeffer4438 5 ай бұрын
Hey, I'm working with classes, not IDs, and can't seem to get your method to work. Have tried the click element trigger as the class name "class-name", ".class-name", ".class-name,.class-name *" and not working. I've double checked in dev tools, and I can see the classes on my elements. Yet, my tags aren't registering in debug mode for some reason. Also used "class matches CSS selector"
@AnalyticsMania
@AnalyticsMania 5 ай бұрын
Only click element variable works with css selectors.
@andrewschaeffer4438
@andrewschaeffer4438 5 ай бұрын
@@AnalyticsMania I figured out the issue. For my triggers I didn't go wrong with this: Click - All Elements -> Some Clicks -> Click classes contains [name of class without "." in front] and Click - Just Links (same setup above worked for me)
@RadikaDilanka-e3l
@RadikaDilanka-e3l Жыл бұрын
Thank you!
@DonHrvato
@DonHrvato 3 жыл бұрын
Amazing you are the KING
@chinughataliya2883
@chinughataliya2883 2 жыл бұрын
Thanks for the clear and detailed explanation!
@lazearteepublicidadedobras6594
@lazearteepublicidadedobras6594 2 жыл бұрын
Just Thank you
@andersoncavalcanti7657
@andersoncavalcanti7657 3 жыл бұрын
Very helpful!
@hyoori
@hyoori 2 жыл бұрын
Thank you so much I finally can make it work!!!!!! T_T
@richchoe_ECH
@richchoe_ECH 2 жыл бұрын
2:45 haha!! that's exactly what I tried to do!!
@haravanempower5774
@haravanempower5774 2 жыл бұрын
Thanks
@nielsd9261
@nielsd9261 3 жыл бұрын
Thankyou!
@1973youness
@1973youness 3 жыл бұрын
Pkease Julius, could you add the transcriptions? (CC) Thanks Julius, :-)
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
done
@bensoudayouness8688
@bensoudayouness8688 3 жыл бұрын
Thanks Julius
@AnnaParker712
@AnnaParker712 2 жыл бұрын
Thanks!)
@alertaboleto4816
@alertaboleto4816 4 ай бұрын
🙌🙌🙌🙌🙌🙌🙌
@somesome23231
@somesome23231 2 жыл бұрын
solid
@mz6016
@mz6016 Жыл бұрын
GOLD
@tineyherssens9345
@tineyherssens9345 Жыл бұрын
Thanx
@СергійГрабовий
@СергійГрабовий Жыл бұрын
Thank you!
Google Tag Manager Tutorial for Beginners (2024) with New Google Tag
1:01:26
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 273 М.
Data Layer in Google Tag Manager || GTM Data Layer Tutorial with examples
22:33
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 165 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
How to access parent element's ID with .closest() in Google Tag Manager
11:09
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 4,1 М.
Google ads conversion tracking with Google Tag Manager (2025)
14:00
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 33 М.
DOM element variable in Google Tag Manager
17:02
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 20 М.
5 Advanced JavaScript Techniques for GTM
15:34
MeasureSchool
Рет қаралды 22 М.
Track Popups with Google Tag Manager and Google Analytics 4
17:40
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 8 М.
💀 R.I.P. YouTube Tutorials: Gemini 2.0 AI is the NEW Teacher
10:00
Teacher's Tech
Рет қаралды 146 М.
Google Analytics 4 Form Tracking (Plus 4 Mistakes To Avoid)
18:33
Easily Track Button Clicks in Google Analytics 4
11:42
Loves Data
Рет қаралды 29 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН