How to Easily Use Event Tracking in WordPress with Google Analytics
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.
1.Category
2.Action
3.Label (optional, but recommended)
4.Value (optional)
Let we see the above components one by one.
1:Category
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.
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.
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:
Here we have used the following event conditions:
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.
How to Boost Sales with Popular Posts Lists in WordPress
How to Quickly Export WordPress Analytics with Google Analytics
Easy How To Make Your Google Analytics CCPA Compliant
How to Add Easy, Powerful Google Analytics in WooCommerce
How to Easily Use Event Tracking in WordPress with Google Analytics
How To Set Up Author Tracking On Your WordPress Site by MonsterInsights
How To Enable File Downloads Tracking On Your WordPress Website
Black Friday / Cyber Monday 2019 WordPress Deals – Huge Savings
How To See The Keywords People Use To Find Your Website with MonsterInsights
How to add a Stats Dashboard on WordPress by MonsterInsights
MonsterInsights: Scroll Depth Tracking for your Google Analytics
MonsterInsights: Most Powerful Google Analytics Plugin For Woocommerce
9 Must-Have Plugins With a New WordPress Site
MonsterInsights Review: useful wordpress google analyticsplugin
No comments: