Name | Update Time |
Netflix | September 6, 2024 9:17 am |
Disney+ | September 6, 2024 10:56 am |
Max | September 6, 2024 11:15 am |
ChatGPT 4 | September 4, 2024 4:23 pm |
Spotify | September 6, 2024 2:30 pm |
Prime Video | September 6, 2024 2:55 pm |
Codecademy | September 6, 2024 2:40 pm |
Grammarly | September 3, 2024 1:46 pm |
Canva Pro | September 5, 2024 2:52 pm |
Udemy Premium Cookies | September 2, 2024 2:53 pm |
Firstly we want to add a generic button click trigger, so we can track all clicks on the page.
(I am assuming you have already got GTM on your page. If not, follow these instructions)
Follow these simple steps to implement…
- On the workspace tab, on the left-hand menu, select “Triggers”.
- Click “New”.
- Select “Click – All Elements”.
- Select “All Clicks”
- You want to then save.
![Button Clicks](https://www.bbbbf.com/wp-content/uploads/2024/07/GTM-Button-Clicks-1024x345-1.png)
Ensure Click Variables Are In Place
Now we want to make sure we configure the correct variables in google tag manager, so our button click information shows up when we test.
We can do this by…
- Go to the variables tab in the left-hand menu.
- You want click “configure”.
- Then make sure you check all the click related variables.
![](https://www.bbbbf.com/wp-content/uploads/2024/07/GTM-Button-Clicks-2-1024x338-1.png)
Google Tag Manager in Debug Mode
So now we want to test some clicks on the page and see what the feedback into Google Tag Manager.
Follow these simple steps to test…
- Click “Submit” in the top right-hand corner and save your work.
- Click “Preview” next to submit to open the “Debug View”.
- Type your URL of the page you want to track button clicks on, into the popup window.
- Click “Connect”
- This will open your page in “Debug View” Start clicking on a few things, making sure you remember which order you did it.
- Then go back to the tab called “Tag Assistant [Connected]”.
- Below is what you should see…
![Button Clicks GTM 3](https://www.bbbbf.com/wp-content/uploads/2024/07/GTM-Button-Clicks-3-1024x399-1.png)
Now you want to check all these clicks and look at the variables.
- Click on one of the options in the land had bar that says “click”. There should be a few of them.
- Then you want to click on the “Variables” tab.
- Here you can see the unique identifiers of the click.
![](https://www.bbbbf.com/wp-content/uploads/2024/07/GTM-Button-Clicks-4-1-1024x398-1.png)
Setting Up Your Button Click Trigger
This is where you want to find what you want to trigger the click on.
I’ve decided I will trigger my click on the “Click Text” variable as that was the most unique variable I had available.
So to set up your Button Click trigger you need to…
- Come out of “debug mode” and back to Google Tag Manager.
- Go back to triggers.
- Click “New”.
- Click Trigger configuration and select “Click – All Elements”.
- Select “Some Clicks”
- Select “Click Text” from the drop-down menu (Or which ever variable you’ve chosen).
- Select “Contains”
- Then the text that showed in the debug view. Ours was “SEND ME THE ESCAPE PLAN”
![](https://www.bbbbf.com/wp-content/uploads/2024/07/GTM-Button-Clicks-5-1024x480-1.png)
Setting Up Your Tag
Now the trigger is set up, you want to add a tag to it, to ensure that everything is working well.
We always start with a google analytics event.
(Again, we assume you already have Google Analytics set up. If not follow this…)
- Click on “Tags” in the left-hand menu.
- Select “New”.
- Click “Tag Configuration” and select “Google Analytics: Universal Analytics”
- Change “Track Type” to “Event”
- Add a category, (we put “Click”).
- Then add an Action, (we put Escape Plan Button).
- Then scroll down and at the bottom click “Enable overriding settings in this tag”.
- In Tracking ID add your universal tracking number, it should look like UA-*********-1.
- You can find this by going to Google Analytics and clicking “Admin -> Tracking Info -> Tracking Code”>.
- Then click on “Triggering” and select the trigger that you just created.
- Click Save and name it.
![](https://www.bbbbf.com/wp-content/uploads/2024/07/GTM-Button-Clicks-6-1024x473-1.png)
Testing Everything Works with Your Button Click
Now to check everything works…
- Click “Submit” and save all your changes.
- Select “Preview” to re-enter debug mode.
- Click “Connect” (your URL should still be there from last time).
- Once your page has loaded click on the button you want to track.
- Go to the tab “Tag Assistant [Connected].
- On the left-hand side click the “Click” option. There should only be one if you clicked once.
- Under “Tags” there should be your tag that fired. Click it.
- Under firing triggers, it should have ticks against the filters you set up.
- Then go into your Google Analytics account. Go to “Real-Time” and then to “Events” and check it showed up.
- It should look something like the image below…
- Then you should all be set up to fire other tags off this button clicks and create more button click triggers.
Search
Popular on Blogar
Email Marketing-What Is Email Marketing?
- October 24th, 2023
- 909 Views
2024 Codecademy Premium Account Cookies
- September 6th, 2024
- 1174 Views
2024 Grammarly Premium Account Cookies
- September 3rd, 2024
- 2055 Views
2024 ChatGPT 4 Premium Account Free Cookies
- September 4th, 2024
- 2004 Views
2024 Canva Pro Free Team Invite Link And Cookies
- September 5th, 2024
- 3387 Views
Perplexity AI Premium Cookies 2024
- April 17th, 2024
- 1188 Views
Content Marketing-What is Content Marketing
- October 24th, 2023
- 1190 Views
Social Media Marketing-Social Media Marketing (SMM)
- October 24th, 2023
- 1348 Views
Pay-Per-Click-What is PPC
- October 24th, 2023
- 1067 Views
WordPress displays subcategories of the current category
- July 16th, 2024
- 94 Views
Install Google Tag Manager on your website
- July 23rd, 2024
- 87 Views
2024 Spotify Premium Account Cookies
- September 6th, 2024
- 837 Views
How to Create a Blog Page on WordPress
- July 19th, 2024
- 83 Views
How to use next_post_link to display the link to the next post from a specific category
- July 2nd, 2024
- 80 Views
WordPress functions.php-add CSS styles and JS scripts
- July 30th, 2024
- 78 Views
Recent Post
2024 Codecademy Premium Account Cookies
- September 6th, 2024
- 1174 Views
2024 Grammarly Premium Account Cookies
- September 3rd, 2024
- 2055 Views
2024 ChatGPT 4 Premium Account Free Cookies
- September 4th, 2024
- 2004 Views
2024 Canva Pro Free Team Invite Link And Cookies
- September 5th, 2024
- 3387 Views
Perplexity AI Premium Cookies 2024
- April 17th, 2024
- 1188 Views
Email Marketing-What Is Email Marketing?
- October 24th, 2023
- 909 Views
Content Marketing-What is Content Marketing
- October 24th, 2023
- 1190 Views
Social Media Marketing-Social Media Marketing (SMM)
- October 24th, 2023
- 1348 Views
Pay-Per-Click-What is PPC
- October 24th, 2023
- 1067 Views
Gmail Account Generation Method #1
- September 4th, 2024
- 12 Views
- Howo Tractor Truck
- Howo Tipper/Dump Truck
- Howo Cargo Truck
- Howo Concrete Mixer Truck
- Howo Special Truck
- Howo Light Truck
- Shacman Tractor Truck
- Shacman Tipper/Dump Truck
- Shacman Cargo Truck
- Shacman Concrete Mixer Truck
- LGMG Mining Trucks
- XCMG Wheel Loader
- XCMG Excavator
- XCMG Crane
- XCMG Asphalt Pavers
- XCMG Road Roller
- Shantui Bulldozer
Copyright © 2024 BBBBF All Rights Reserved.