8 minute Step by Step Guide


1. Create a click trigger

2. Apply click trigger to the button you want to track


1. First, we want to create a click trigger. In Tag Manager, go to Triggers > New.

2. Create a trigger called Generic Click Trigger:

3. Click on the Trigger Configuration box > select All Elements under Click > select All Clicks.

4. After you save, you now need to filter the clicks to your button.

5. Make sure GTM will track click variables, because they’ll be your filters.

6.Go to Variables. Click “Configure” under Built-in Variables:

7. Scroll down and check all the  checkboxes under Clicks:

8. Now, on the top right of the screen, click the down arrow next to the Publish button > click Preview.

9. In a new tab, open the page (exact domain) with the button on it. If you have it open, refresh. You should see the GTM console at the bottom of the screen.

10. Notice the Summary on the left. Notice how many elements it has.  We are going to click the button to see what new elements show up in the Summary.

11. When you are ready to click your button, hold down your keyboard’s COMMAND button and click the button. The COMMAND key opens the link in a new tab.

12. In your original tab, the Summary should have new elements. ie.. gtm.click #.

13. It might be hard to tell which new element was triggered by your button click. To see which element is triggered, Click on the variables tab to see which gtm.click is the one for your button. For me, I can tell #5 is the correct one because the “Click Text” is ADD YOUR NAME, which matches the button. In a nutshell, these variables are associated with your button.

14.Now, we want to filter Generic Click Trigger using these variables. Back in your GTM tab, go to Triggers > click on your Generic Click Trigger. Re-name it to what you want to track.

15. Under Trigger Configuration, change All Clicks to Some Clicks. Then when it comes to the dropdown bar, I’m choosing Click Text and pasting the Click Text that the Variables box gave me. If, for some reason, you don’t have anything for Click Text, you can also use Click Classes and copy the appropriate value.

16. Now we want to create actual event tracking tags. Go to Tags > click New.

17. Name your tag. I named mine, “GA – Event – Signed Research Funding Petition”.

18. Click on the Tag Configuration box >  your Tag Type should be Universal Analytics. Put your Google Analytics ID. This can be found by going to Google Analytics > clicking your property > Admin > Property Settings > copy your Tracking ID. Copy the whole thing, including “UA-”

19. Choose Event as your Track Type.

20. Set your event tags. What events do you want to fire off when someone clicks the button?

21. Click the Triggering box. You should see the trigger you created.

22. Now we want to test this out again but with the new event tag! Click Refresh to refresh preview mode.

23. Refresh the tab you have open with your button.

24. Click on your button (remember to hold COMMAND so your current tab doesn’t change).

25. View the “Tag” tab and the button click should have triggered a gtm.click variable with your new tag:

26. Go into Google Analytics > Real-time > Events, and you should see it.

Tracking your conversions is key to success. If your organization needs help tracking goals and conversions, get in touch to see how we can help you.

Categories: Tracking

Related Posts


Your 2017 Small Business Guide To Facebook 

Do you wonder if you can spend $5 or need to spend $500 to see results? The answer is yes, to both! It really comes down to what you want to achieve. Here are 5 Read more…