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

  Рет қаралды 44,944

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

Пікірлер: 70
@withmikes
@withmikes 3 жыл бұрын
Bravo! This is one of the few videos out there that truly isn't just a walkthrough of the documentation.
@user-vg5vy3sv4v
@user-vg5vy3sv4v 9 ай бұрын
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 3 ай бұрын
Thank you for highlighting the SPACE. yes many time space is important.
@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!
@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.
@alif.mahmud
@alif.mahmud 11 ай бұрын
Thanks, I wasted more than 2 hours thinking that it's a string. Thanks again for your awesome video ...🎉
@renanpocahy9810
@renanpocahy9810 Жыл бұрын
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!
@SoumenMondal-wu8pn
@SoumenMondal-wu8pn 4 ай бұрын
Thanks a Bro, It really helps me, I lost many times through this, Thanks again bro
@angelahu5215
@angelahu5215 Жыл бұрын
Thank you so much! I couldn't find another video that solves this problem. You make my work so much easier. Thank you !!!
@FedericoNahmad
@FedericoNahmad 3 жыл бұрын
I finally understood the wild card! Thanks! 👌
@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
@elmahdichaker1207
@elmahdichaker1207 10 ай бұрын
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 💪
@hyojeong2091
@hyojeong2091 Жыл бұрын
Super thanks..... I've been finding for the solution and this video is actually the one that I've been looking for... Thanks!
@taranox_silberschmuck
@taranox_silberschmuck 5 ай бұрын
Thank you so much, for this great video! Much appreciated!
@gideondelayahu6703
@gideondelayahu6703 3 жыл бұрын
Great video - thank for the tips - particularly the parent element ID - love it!
@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
@tcai5341
@tcai5341 Жыл бұрын
Thank you! Was stuck on this for a while. Appreciate your help 🙏
@ketoburner8690
@ketoburner8690 Жыл бұрын
Thank you my friend, that was a really nice explanation. Thank god im a web developer i understood everything.
@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?
@shaanquadri4704
@shaanquadri4704 2 жыл бұрын
Excellent help really, especially the last tip. Your videos are very useful for non-technical people like me.
@isidoraarriagada5015
@isidoraarriagada5015 2 жыл бұрын
Thank you very much, you saved me! your tutorials are the best!
@lolzeinab
@lolzeinab Жыл бұрын
I love you man, you saved my mental health
@MrChrisJ74
@MrChrisJ74 Жыл бұрын
Very helpful I was trying to use anonymous functions to return text values but alot can be done with the data layer variable
@marcinmarcin6393
@marcinmarcin6393 Жыл бұрын
You are pure gold! Thank you for your amazing tips!
@MrOron
@MrOron Жыл бұрын
One of the best GTM videos!
@ArtisBMX
@ArtisBMX Жыл бұрын
legend! Totally saved me here! Some really throural explanations
@chinughataliya2883
@chinughataliya2883 2 жыл бұрын
Thanks for the clear and detailed explanation!
@aldringonzalgo6437
@aldringonzalgo6437 2 жыл бұрын
Awesome video! Thanks for the super clear explanation, Julius!
@RivalD666
@RivalD666 Жыл бұрын
This was very helpful, thank you!
@PossessWithin
@PossessWithin Жыл бұрын
This was extremely helpful, thank you
@benjibo9476
@benjibo9476 7 ай бұрын
Man you are awesome! Thank you
@shyamthakur1201
@shyamthakur1201 3 жыл бұрын
Great video as always sir ....... first one to comment on this
@patvertise
@patvertise 2 жыл бұрын
Thanks! I also could use the Click text as a trigger right??
@romilsonbragateixeira6048
@romilsonbragateixeira6048 Жыл бұрын
Thank you very much! Well explained
@ricp
@ricp 11 ай бұрын
great video, man!
@danielcjuno2851
@danielcjuno2851 11 ай бұрын
Thank you very much, works and is practical.
@russcastella
@russcastella 2 жыл бұрын
Wow thank you. It was driving me nuts
@user-cz3nb2iu7r
@user-cz3nb2iu7r 9 ай бұрын
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.
@user-mq5ou3tq5j
@user-mq5ou3tq5j 8 ай бұрын
great video, thanks!
@lothergalante
@lothergalante Жыл бұрын
Obrigado senhor pelo seu vídeo, me ajudou bastante!
@Carlismusic
@Carlismusic 2 жыл бұрын
I Have no reasons to not subscribe after view this video. Thanks man
@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!!!!!
@arnaurojals3079
@arnaurojals3079 2 жыл бұрын
Very useful. Thank you 👍
@СергійГрабовий
@СергійГрабовий Жыл бұрын
Thank you!
@lazearteepublicidadedobras6594
@lazearteepublicidadedobras6594 Жыл бұрын
Just Thank you
@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?
@andersoncavalcanti7657
@andersoncavalcanti7657 2 жыл бұрын
Very helpful!
@DonHrvato
@DonHrvato 3 жыл бұрын
Amazing you are the KING
@chinughataliya2883
@chinughataliya2883 2 жыл бұрын
Thanks for the clear and detailed explanation!
@rafaelbp279
@rafaelbp279 Жыл бұрын
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?
@richchoe_ECH
@richchoe_ECH Жыл бұрын
2:45 haha!! that's exactly what I tried to do!!
@hyoori
@hyoori 2 жыл бұрын
Thank you so much I finally can make it work!!!!!! T_T
@haravanempower5774
@haravanempower5774 2 жыл бұрын
Thanks
@andrewschaeffer4438
@andrewschaeffer4438 7 күн бұрын
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 7 күн бұрын
Only click element variable works with css selectors.
@andrewschaeffer4438
@andrewschaeffer4438 6 күн бұрын
@@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)
@nielsd9261
@nielsd9261 3 жыл бұрын
Thankyou!
@AnnaParker712
@AnnaParker712 2 жыл бұрын
Thanks!)
@somesome23231
@somesome23231 2 жыл бұрын
solid
@1973youness
@1973youness 3 жыл бұрын
Pkease Julius, could you add the transcriptions? (CC) Thanks Julius, :-)
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
done
@bensoudayouness8688
@bensoudayouness8688 3 жыл бұрын
Thanks Julius
@mz6016
@mz6016 Жыл бұрын
GOLD
2 жыл бұрын
Danke!
@relaxinggospelmusic2421
@relaxinggospelmusic2421 Жыл бұрын
😍😍😍😍
@tineyherssens9345
@tineyherssens9345 Жыл бұрын
Thanx
@user-le9uv7ng9g
@user-le9uv7ng9g Жыл бұрын
Thank you!
Button Click Tracking with Google Tag Manager - 3 methods
23:14
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 59 М.
How to Use CSS Selectors in Google Tag Manager
34:41
MeasurementMarketing,io
Рет қаралды 7 М.
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 18 МЛН
SCHOOLBOY. Мама флексит 🫣👩🏻
00:41
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 6 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 13 МЛН
5 debugging tips for Google Tag Manager || How to debug and test Google Tag Manager
14:58
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 8 М.
Google Tag Manager Tutorial for Beginners (2024) with New Google Tag
1:01:26
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 210 М.
CSS Selectors, Google Tag Manager, and GA4 (2024)
13:27
Root & Branch Digital Marketing
Рет қаралды 682
Data Layer in Google Tag Manager || GTM Data Layer Tutorial with examples
22:33
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 154 М.
5 Advanced JavaScript Techniques for GTM
15:34
MeasureSchool
Рет қаралды 21 М.
Using Click Classes, Click ID and Click Element in GTM
32:15
Leon Korteweg
Рет қаралды 1,6 М.
Google Tag Manager Element Visibility Trigger and CSS Selectors: 1 of 2
11:25
Root & Branch Digital Marketing
Рет қаралды 9 М.
Google Analytics 4 Form Tracking (Plus 4 Mistakes To Avoid)
18:33
At the end of the video, deadpool did this #harleyquinn #deadpool3 #wolverin #shorts
00:15
Anastasyia Prichinina. Actress. Cosplayer.
Рет қаралды 18 МЛН