Google Analytics, KISSmetrics and Segment.io are very powerful tools in their domains, however, the default installation is unable to track the visitors interactions and on page events. This includes clicks, page content updates. Well, it’s the response to How to implement event tracking in google analytics?

To do so, and measure in depth our website visitors engagement, i will walk you through a simple process or measuring engagement on your website without coding and JavaScript codes like most of our vendors requires. Instead, we will Weelytics Visual Tracker Tool to implement those events.

So, let’s see,

How to Implement Event Tracking in google analytics  and Weelytics

As described previously, Google Analytics is only notified and tracks information’s when a user interacts directly with the server (navigation), which typically happens when moving from one page to the next.

In order for Google to know that a user is interacting with an on page element, you’ll need to add some scripts provided by Google and implement some JavaScript clicks listeners.

For example: for all of our ecommerce clients, we usually track the clicks on the “add to cart” button clicks, the product name and the price.

2015-11-23 12_02_28-Mirrorless System Lenses _ B&H Photo Video

So, when a visitor clicks “add to cart”, we run advanced JavaScript code to collect those information’s (JQuery).

Here is an example code of how to implement event tracking in google analytics:

//Tracking code for the Clicks
//Suppose we Select the element by it’s class
$(‘.addtocart’).on(‘click’, function() {
ga(‘send’, ‘event’, ‘button’, ‘addtocart’, ‘click’, $(‘.youpay’).value);
});

The heart of this code is the ga() function. When this is executed, it pings Google with information’s about the on page event.

ga(‘send’, ‘event’, ‘category’, ‘action’, ‘label’, ‘value’);

Send – Simply, to send information’s to Google Analytics

eventCategory – Typically the object that was interacted with.

eventAction – The type of interaction.

eventLabel – Useful for categorizing events.

eventValue – A numeric value associated with the event.

THE CHALLENGE

How to implement event tracking in google analytics is a simple question to respond.

If done right, with a lot of maintenance to always follow the new website updates and changes. It’s important to keep updating the scripts on page or the rules (Google Tag manager) to be able to track continuously your website events and metrics.

Also,

  • A need to maintain an IT budget for all those maintenance.
  • In most of the situations, a dedicated technical resource is requried to maintain the implementation, the tags and scripts.
  • Multiple departments involved, from Marketing to Business and IT.
  • Less governance.
  • Time consuming.

At Weelytics, we took all those challenges seriously and built a solution to help us, as analysts and websites owners’ to obtain a real governance by removing the IT process for the metrics/events implementation.

Today, anyone from the business can use Weelytics to Navigate, add, update and remove events tags to the website without any technical skills.

2015-11-25 10_47_10-Weelytics - The Easiest Way To Tag Your Website

To learn more about how to add your events with Weelytics (2 x 50 seconds videos), check here: http://blog.weelytics.com/2015/11/16/weelytics-how-to-add-and-measure-your-metrics/