Search
Generic filters
Exact matches only

Track Button Clicks using Google Tag Manager

23rd July 2019

SEO

tag manager

A company wanted to track how many people used the “Quote Now” button on there website and then gave up due to the complexity of the form.
This would usually be done within Google Analytics, but the button in question was a modal and therefore had no page to be tracked. The only real answer was to use Google Tag Manager.
What we are going to set up is the tracking involved in completing this task.

A user clicks on the “Quote now” button, and this event is tracked. It also appears in Google Analytics as shown below, so you can add to reports etc

Track Button Clicks using Google Tag Manager,,

This is what my tags looked like after… I have Google Analytics, Hotjar, and my Button click tracking….
Track Button Clicks using Google Tag Manager,,

And the triggers looked like this…
Track Button Clicks using Google Tag Manager,,

But for the whole tutorial and how to achieve this I found this great Youtube video and it works…

Was this code snippet helpful?

Comment on this Code Snippet?