How to measure results using Event Tracking
It’s all well and good designing, developing and marketing a website, but without knowing exactly how the website performs you’re probably not getting the best possible return… That’s where Google’s event tracking comes in.
When driving traffic to a website we’re able to track all sorts of useful metrics with Google Analytics, which gives us an insight into where a visitor’s come from, how long they spent on the site, which pages they’ve visited and most importantly if they convert into a lead or sale!
Event tracking allows you to track the performance of specific elements of a site and analyse data that you wouldn’t normally be able to see when using Google’s Analytics default metrics. For example:
Button Clicks
Call to action usage
Downloads
Video plays
Advert clicks
Image gallery usage
Slider usage
Many, many more…
You’d think such a useful feature would be difficult or time consuming to implement but event tracking is very easy to setup and will start tracking events instantly.
Here’s the code we recently used to track how frequently visitors interacted with a ‘contact us’ call to action, which displayed on every page of the website.
‘onclick=”ga(‘click’, ‘button’, ‘cta’, ‘contact_us’);”
The code is fairly self-explanatory: We wanted to track a ‘click’ on a ‘button’ which was a ‘cta’ called ‘contact_us’
Simply rename the attributes to track a different element of the site. For example here’s how we’d rename the code to measure when a visitor plays a video on the about us page:
‘onclick=”ga(‘click’, ‘button’, ‘about_us’, ‘video’, play’);”
Finally, you need to add the event tracking code to the element you want to track on your site. For example, here’s how we’d add the code to a ‘contact us’ call to action button, which links to a ‘contact us’ page.
<a href=http://www.test-website.com/contact-us/ ‘onclick=”ga(‘click’, ‘button’, ‘cta’, ‘contact_us’);”>
That’s it! Events will start tracking as soon as you’ve implemented the code on your site.
To view the data you’ve tracked in Google Analytics go to > Behaviour > Events > Overview
If you’d like to know more about how we use event tracking to optimise our client’s websites to improve performance and generate results, call us for a chat. And yes, we’re tracking that.
If you want to keep up to date with the crew, don't forget to sign up to our newsletter to benefit from digital marketing expertise, as well as exciting opportunities to improve your business' performance.

Written by Amy Taylor
PPC and tracking manager Amy is a highly analytical and results-driven strategist with a sharp eye for detail and a passion for precision. Having led some of our highest-performing PPC campaigns, she knows exactly what it takes to motivate clicks – leveraging her deep understanding of user behaviour to optimise ads for maximum impact, and accurately measure digital marketing success.
News and insights
Leaving PDFs in the past: how online brand guidelines empower clarity, consistency, and control
Once the gold standard for brand guidelines, PDFs are now a catalyst for inconsistency. Discover how accessible, dynamic, online alternatives – housed in one centralised hub – are empowering brands to take back control and apply systems confidently across every touchpoint.
Read moreNews and insights
AI is only as good as its inputs: why our AI toolkit is essential to protect your brand
AI is transforming how we work – the understatement of the year. Yes, it promises speed, scale, and smarter decision making, but there’s a crucial truth being overlooked in the rush to adopt the technology.
Read more