Tracking Button Clicks used to take serious technical chops to pull off. If you have Google Tag Manager installed you simply need to follow a few steps and will be able to send Events to Google Analytics, Facebook and AdWords. In this video you are going to learn the 4 steps you need to follow to setup your Events correctly with Google Tag Manager
The Steps are:
1. Setup a generic Click Trigger
2. Perform the Click to see what GTM picks up
3. Inspect the variables and refine your Trigger
4. Connect your Trigger to a Tag (such as Google Analytics,
Facebook, AdWords and more….)
🔗 Links from the video:
GTM Event-Tracking Playlist: https://www.youtube.com/watch?v=b48PbFCNyOM&list=PLgr_8Hk8l4ZHqk0w9OU2IypiZsH2qqdoS&index=1&t=0s
GTM for Beginners series: https://www.youtube.com/watch?v=WCmdRivjvRk&list=PLgr_8Hk8l4ZEY-rBGG99Y9V10Dc7g7cHt
🎓 Learn more from Measureschool: http://measureschool.com/products
GTM Copy Paste https://chrome.google.com/webstore/detail/gtm-copy-paste/mhhidgiahbopjapanmbflpkcecpciffa
🚀Looking to kick-start your data journey? Hire us: https://measureschool.com/services/
📚 Recommended Measure Books: https://kit.com/Measureschool/recommended-measure-books
📷 Gear we used to produce this video: https://kit.com/Measureschool/measureschool-youtube-gear
👍 FOLLOW US
Hey Julian, I created the generic click trigger but none of my test clicks are being picked up. Confirmed that tag manager is properly installed via tag assistant and preview mode...it is a Shopify site that does not do eCommerce (weird, I know)...any idea why this is? I am trying to track button clicks
You're the man! This helped so much. I was trying and failing to find a way to track an address link that navigates to Google Maps. I was way overthinking it. I appreciate the way that you explain the reasoning behind everything you do too. Cheers!
An immensely helpful video showing step by step implementation and thank you. Just one question. When you added the add to cart click trigger to AdWords and FB, are you just sending data to those pixels for data collection/retargeting purposes? You're not sending conversion data, right?
Hello, thank you for making this great tutorial @measureschool. I followed it and think I've got everything set up correctly. The tag I fired shows as having been successful when I click on one of the button I've specified for it. However when I test it in google analytics, in Real-Time -- as described in your video from 11:23 to 11:32 -- nothing shows in my Events panel when I click. On the Tag Manager side it shows a successful "Tags Fired on This Event" though. I know it's hard for you to say with being able to see for yourself, but can you imagine what I might be doing wrong? Thanks in advance for any advice! And thanks again for the tutorial.
I figured it out! I realized have a filter set up to ignore traffic coming from the within my office, so obviously it wouldn't trigger the event. I tested on my phone set to roaming and it worked perfectly.
Hey bro, thanks a lot for the tutorial... It really helps me!!! Just a note I've watched your old video but I could figure out everything, so I decided to write a comment and then I saw your description "updated video" and I was like "oh I'm f****** stupid" Just saying again your tutorial save my day =)
Fantastic video you saved my life, I was a doubt in one step. When filtering when the trigger is activated you choose "click-element", but in the web page the value was in "click classes".
Which one is the right one?
Thank you so much for your great tutorials. They have been really helpful so far. I just have one question. I have an e-commerce website with configurable products. So until the customer selects the colour and the size, they can click on the "Add to basket button" but it only gets added to the basket after the user selected the desired options. How can we set the triggers to only track events that really add the items to the cart? Thank you :)
there are several methods to accomplish this, but none that are easy. You would need to build a validation with different variables that check wether the options are filled and then only fire the tag if the variables are filled correctly. Alternatively ask your developer to build in a custom dataLayer push
Hi Julian, is there any way to track Facenook Customer Chat on the website? https://developers.facebook.com/docs/messenger-platform/discovery/customer-chat-plugin/
Class or click tracking don't work. I don't know how to solve this problem. There is no solution anywhere... Thank you.
Hi Julian, great tutorials BTW!! Quick question, before i added the footer GTM code i was able to see each GTM events just like in your video. However after installing the full code i am not able to see the event gtm. on the website panel? Why is that? Should i remove the footer code?
Great stuff ! Thanks for those good content tutorials !
There is just one thing :
I've been trying to make a trigger from a button Click ID.
Once I get in preview mode to see the variables nothing appears on Click ID.
Here is how I coded my button (with id="getyourpromotiondesktop01) "
[su_button url="" style="flat" color="#ffffff" size="12" id="getyourpromotiondesktop01" class="popmake-waiting-list"]Get your promotion ![/su_button]
What did I do wrong for it not to print any variables in Click ID when I click the button ?
If someone got the answer that'd be great ! Thanks !
Hi. Thanks for this video! I have a problem. We use an embedded typeform on our website and we need to track submit clicks in Analytics, but when I make clicks within the embedded form in the listener functionality, it is not picking up any clicks. Is there any way around this?
One question Julian, I followed the tutorial and it's working great. But once the click fires up the tag, how can I make a goal in GA when somebody clicks the ATC button? I am having a difficult time finding that. Thank you!
Julian, great tutorial. You are very good at teaching us step by step. Really appreciate it. I have a question. How do I track phone calls using this method? For instance, I set up the button click event so I capture when someone clicks the phone number on the website. However, how do I track whether they actually went through with the call (because you can click cancel once you click the call number on the site)? We do have Conversions set up in AdWords for Calls using some time requirements for it to be considered a conversion. Thanks for your help in advance.
You've earned my subscription by not editing the 'blooper'. Quick question for you: I have a new Google AdWords client that is selling antique furniture trough his webshop. For every item he has one unit in stock. How would you track webshop conversions for AdWords, without manually adding 500+ units/codes/events?
first ensure they are enabled under Built-In Variables in GTM. If they don't get filled then the build-in capabilities won't work for your site. There are a host of other workarounds, but more technical. I would recommend to get some help in this case.
Hello Julian. Love your videos! How would I setup a click event if the buttons do not have unique click classes? Meaning the java script/data layer return the same value or non for click class for different events? Thank you!
One quick question... I have contact form in different service pages of my website and I am redirecting them all to one thank you page after successful submission..
Can I separate the thank you page event data by tracking them by the source page of thank you page in this case or should I make different thank you page for every service page contact form
Thanks in advance
Hi Julian, thanks a ton for this video, I have a question.....I have implemented UTM on the ads.......My worry is if I am having just a single page and wanted to track if it was the Facebook AD / Adword Ad that triggered the form submission how will I do it? I understand the point of tracking button clicks but how will I know if it is Facebook / AdWords? Could you explain the last part in the video where you mention how we can attribute button clicks to these platforms? .... My purpose is to remarket separately to people who filled a Form coming from Facebook Ads / Adwords for loyalty based benefits they can get
Julian - thank you for putting out these incredible tutorials. I took one of your Udemy courses on Tag Manger, and now I don't go to anyone else. I appreciate that you keep your tutorials updated for each year's changes and that they're so easy to follow. I do have one question - I would like to try setting up button click tracking that goes to our marketing automation platform - have you ever done something like this before? I have no problem setting it up for GA, FB or AW, but this is a new one that I'm not sure can be done. Thanks!
Hi there. Thank you for the tutorial. I was wondering if we have a specific url under a button and we have this button like 10 times in our website and we want to measure all the click that these buttons will receive. How can we do that? Also how can we measure different clicks on different buttons? Do we need to do the same procedure for all the buttons? Thank you
the trigger configurations will let you dynamically define rules. As long as the variables that you choose stay the same when you click on that button you would only need to define one trigger and tag to capture all of them
THANKS for the great content!
Had a quick question: is there a way to filter specific event tracking in different GA views?
I'm trying to re-organize a clients GA account without touches what is already in place. Does this make sense?
Thanks again :)
Hi, Julian, thank you for this! I've very much enjoyed learning more about GTM through your detailed videos, and I'm looking forward to more of them.
I noticed that for your Facebook Add To Cart event that you had the base pixel and the event pixel on the same tag; could you just have the base pixel fire on all web views and then have a separate tag that fires only when the button is clicked using the "fbq('track', "AddToCart');", assuming that you include the script tags around the tracking code and ensure that the base pixel fires first?
Sechskies Eun Ji Won and rookie singers Lee Soo Hyun and Kim Eun Bi performed the third OST single titled "Love Song". The rookies, who are both training to debut in HYWY Entertainments girl group HYWY Girls, joined the veteran to sing about falling in love with an unlikely person. The rhythmic medium temp track is the perfect tune to make your spring days even brighter.
As a child, there was a portrait in our family home in Paris that I always loved. Today, it’s known as Maya with Doll – but to me it was just a portrait of my mother, albeit a remarkable one. “Your grandfather was a painter,” she would say, whenever the subject of the canvas, one of many that hung around the house, came up in discussion. It was only when I began school, and whispers about my heritage started to follow me, that I realised what an understatement that was. My grandfather was far more than a painter. He was the defining figure of 20th-century art – and, as I would learn later from years of academic study, a true genius. It was a revelation that would shape the course of my life in many ways. When Picasso died – in 1973, the year before I was born – he left behind 45,000 works, not to mention personal objects and correspondence.