How to Easily Use Event Tracking in WordPress with Google Analytics | Softorwebapp

How to Easily Use Event Tracking in WordPress with Google Analytics

Leave a Comment
Hi friends, in this article we are going to see How to Easily Use Event Tracking in WordPress with Google Analytics

So first let we see what is an event?
In general, event is called as result of anything which has some importance.
In the analytics field, let we see directly what google says about event.
Google Analytics says,
Use Events to collect data about interactions with your content.

Events are user interactions with content that can be measured independently from a web-page or screen load. Downloads, link clicks, form submissions, and video plays are all examples of actions you might want to analyze as Events.

Let we see how to look events reports in google analytics dashboard.

From the above image we can see, event reports in located under behaviour category.
Events Component List:
There are 4 components in the events.

1.Category

2.Action

3.Label (optional, but recommended)
4.Value (optional)

Let we see the above components one by one.

1:Category

Category is giving a name to group objects which you want to analyse.
Example: Videos as a category. Call to action button as a category . Another example is Call to Action as a category. In some website s you may have seen these buttons Add to cart buttons, Free trial sign-up buttons, Download buttons. These buttons guide users to take action according to website goal conversion.So these buttons (objects) can be grouped and we can put them in a category called Call to Action.
2:Action 
Action is nothing but naming the type of interaction which you want to measure for a particular web object.
Example: Clicking the play button or Clicking the pause button or Clicking the stop button of video category.Clicking the Add to cart buttons, Clicking Free trial sign-up buttons, Clicking the Download buttons of Call to Action category.
3.Label
In Labels,we can provide additional information for events that you want to analyze, such as movie titles in videos, or Add to Cart button in Call to Action.
4:Value
The value component is an integer, and is used to assign a numerical value to a page object. 

From Google Analytics,

Category: "Videos", Action: "Video Load Time", Label: "Gone With the Wind", Value: downloadTime


The value is interpreted as a number and the report adds the total values based on each event count . The report also determines the average value for the category. In the example above, the Event is called for the "Video Load Time" action when video load completes. The name of the video is provided as a label, and the computed load time is accrued for each video download. You could then determine average load time for all "Video Load Time" actions for the "Videos" category. Suppose you had 5 unique downloads for your website videos with download times in seconds as:


10


25


8


5


5


Your reports would then compute these as follows, with the numbers in this example illustrating download time in seconds:

Sessions with Events: 5


Value: 53


Average Value: 10.6


Negative integers are not supported.


 Now let we see how to set Event Tracking in WordPress with Google Analytics.

The easy method is to use MonsterInsights Plugin for analytics.


MonsterInsights  helps to shows analytics for wordpress website within wordpress dashboard.

Try MonsterInsights

As of now MonsterInsights have 2+ million installations and have rating of 4.5 stars out of 5 stars.

In October 2018,  MonsterInsights announced that they are releasing custom link attribution in their version 7.3.0 . 

With this feature we can track very important links in the website.

To use this feature we have to use its data variable tags in the HTML link.


For example i am adding image in the widget . This image has a link which will goto pricing page. There are many ways we can explain.at present we are taking this.



After adding these tags, MonsterInsights will track mentioned link and will give detailed reports.

Try MonsterInsights

For example, we’ll show you how to add custom event tracking on a sidebar call-to-action image. Suppose the sidebar call-to-action image is a link to your pricing page:

https://www.techinfoweb.com/pricing/

 Here we have used the following event conditions:

Category: “cta”
Action: “click” =https://www.techinfoweb.com/pricing/
Label: “Buy Button” = Buy Now

That's all friends. MonsterInsights will start to track.And the reports will be available in the Publisher page of MonsterInsights.


To understand better, you can goto google analytics. It's not necessary, just sharing the information here.






Another method is a manual method which needs JavaScript knowledge.

onclick="__gaTracker('send', 'event', 'category', 'action', 'label', 'value');"


But you know MonsterInsights already providing lot of events which will be added to google analytics for you.Kindly check out this link.

https://www.monsterinsights.com/docs/google-analytics-events-audit/ 

They are working on it more to give more events for you.

Try MonsterInsights

Next Post Newer Post Previous Post Older Post Home

0 comments :

Post a comment

Powered by Blogger.