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
🚀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
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?
Great video, this was super helpful for me. I also appreciate you leaving in that specific mistake. As it was happening I knew it was wrong but figured the preview would show you and we'd learn something. I had already done mine right so I wouldn't have learned about that debug where it shows you what went wrong. I'll def subscribe to your channel and see if there are other helpful videos. Thanks again!
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?
I suck at coding and I used to go back and forth with a developer to implement this kind of tracking.
Thanks to your video I managed to do everything by myself. You're awesome Julian thank you so much!!
Julian is such an amazing guy. How i wish i could work with him.
Quick question, i setup event tracking to capture clicks on "CALL NOW" button. it fires on computer but not on mobile phone. How do i fix this?
Ace... Thank you for making this accessible. Sadly my buttons weren't really coded with class information, but I still managed to identify a specific button click using other variables. Especially useful seeing how you debugged the failed click. Whats the best series of videos to watch moving forwards?
Thank you appreciate the content as always. One unrelated question I have relates to Adwords Manager accounts. Do they have similar accounts if you are going to be managing multiple analytics accounts, tag manager accounts, etc? Or would you just directly request access with those and log on to your own analytics/tag manager and access such?
Hello I would like you to help me:u know why my web page, is getting a lot of view between 40mil and 2mil click, I do not know what to do and I contacted godaddy and they told me that my page does not have any malicious code. I already have 4 days with this problem, until the ads I deactivate and I still have all that visit.
Thank you for the great video! I have a form submit tag created with a form submit trigger on our website x3tradesmen.com. We should only receive 5-10 events/form submits on our website per day, however, recently we have noticed that we are getting 10,000+ events a day for some reason. We also saw a massive spike in users per day as well. Is there any common issues that are known for causing this type of behavior? Thanks!
when you don't want to affect bounce rate from the default. GA defines a Bounce as a Session with only one interactions. If a User start his session on the page you wanted to fire an event on he already registers the Pageview as the first Interaction. If he performs your interaction or event (and non-interaction is set to false) then your User will automatically counted as NOT bounced.
Long story short: Non-Interaction Hit should be set to true for interactions like a Scroll, where the user will be performing an action anyways regardless of him bouncing.
Thank you Julian! Very educational and practical. I'm a bit confused about the next step in Google Analytics though. Where can I see the data that gets accumulated, rather than just look at what happens in real-time? Maybe something you would want to add if you ever do an update :) Thanks again!
Hi Julian, you have great and educative videos. Here is idea for next video. Many people don't know that Google Analytics don't track time by default if user is bounce. It would be very good and educative to create GTM and Google Analytics (Custom Metrics) whole process of tracking time for bounce users (not with timer in GTM), but with beforeunload and beacon.. :)
pretty advanced to setup and a bounce is hard to measure, because it is dependent on the session (which is computed serverside). I guess what you would be possible is to measure time on site with this technique?
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.