Member-only story
Google Analytics Custom Events: from Clicks to Reports
Google Analytics can track almost any event happening on your website. If you don’t know how to configure your tracking system to capture all sorts of events, don’t worry, I’m here to help!
The fact that we can track everything doesn’t mean that we should. Event tracking uses some bandwidth and, if abused, it can slow down the browser. But if done correctly and only for relevant events, the impact on the browser will be unnoticeable.
What kind of events can I track with GA?
Anything that JavaScript can detect on a webpage can be used to trigger a Google Analytics event. That includes HTML events like clicking on a button, scrolling the page, moving the mouse over an image. Google Analytics can also record events generated when certain specific conditions are met. For example, suppose we have a lead generation form asking our visitors how many employees their company has. We can set up a threshold on that value and generate a custom event every time the number of employees entered by in the input field is above the threshold. The custom event we created will be associated with the visitor filling the form and could be later used to assign the visitor to a specific segment of our audiences.