Google Analytics has many tools in order to drill down into where your visitors have arrived from and what they are doing on your site.
One of these tools is Events tracking. The only problem with Events, though, is that it is slightly more complicated than usual to implement due to the fact that it requires you to insert some tracking code for each event you wish to track. The easiest way to do this, is to include this tracking code inline on the element you wish to track.
If it’s more complicated, why would you use Event tracking? Because they can track certain things Goals can’t. An example of this is tracking a click. This could be a submit button, clicking a button which goes to an external site (for example, to make a hotel room reservation), or to track a file download (such as a PDF). Event tracking is also extremely useful in mobile sites. We always track the “tap to call” buttons, to see how visitors are engaging with the site and if they call straight from it.
So, here’s an example of inline Google Anayltics Event Tracking:
<a href="link.html" onclick="_gaq.push(['_trackEvent', 'Category', 'Action', 'Label']);">Track me!</a>
You will need to change the tags for category, action and label. These automatically appear in Google Analytics with whatever you enter in the Content > Events section.
The screenshots below show some event tracking on a mobile site we built, the category being “Actions”, the action being “Phone”, and the two separate event labels being “Tapped to call from footer” and “Tapped to call from header”.
Being a Google Analytics certified agency, Adao* can help you with any questions or problems you have with Google Analytics. Please feel free to get in contact with us or call us free on 0800 6125 611.
By Joshua Clare-Flagg