How To Enable Custom Event Tracking In WordPress [Using MonsterInsights]

Would you like to track custom links and call to action buttons of your WordPress blog properly?

If you are adding custom banners on your sidebar for promoting a product or adding landing pages for the promotion with some CSS buttons, you might want to consider checking the performance of those. That way, you will know how your efforts are going on and how you can improve the pages.

The simple way for checking these are by using event tracking feature. And if you are looking for a simple way to do this, we are going to show you how you can enable custom event tracking in WordPress using MonsterInsights!

MonsterInsights

monsterinsights plugin

When someone needs to integrate Google Analytics with his WordPress website, they have mainly two options.

  • Manual.
  • Plugin.

For making everything simple, we will always recommend using a WordPress plugin for Google Analytics integration. And in our list, MonsterInsights is the #1 Google Analytics plugin in the market. Thankfully, MonsterInsights is a freemium plugin.

The free version plugin is called MonsterInsights Lite, and it is available on the WordPress plugins repository. As you can see in the below image, MonsterInsights Lite is used on more than 2 million active WordPress blogs.

monsterinsights lite plugin

And just for checking the top-performing pages, traffic sources, the free version is excellent. Well, while you are running an online shop or business website, you might want to consider using the premium version plugin because it comes with unique features like author tracking, file download tracking, keyword tracking, etc.

In our MonsterInsights review, we have added more details about its features, pricing, etc. You can check it out.

MonsterInsights Pricing

As of July 2020, they have three premium pricing options.

monsterinsights pricing

  • Plus – $99.50/ yr – 1 Website License.
  • Pro – $199.50/ yr – 5 Website Licenses.
  • Agency – $399.50/yr – 25 Website Licenses.

The Plus plan comes with basic features. Well, if you are running something like an eCommerce shop or a content blog with a more massive amount of audience, you need to purchase the Pro or Agency plan.

Every plan comes with a 14-days money-back guarantee. So if you don’t like the MonsterInsights premium version plugin, you can quickly get a complete refund—no hard contracts. But, I am pretty sure that you will start loving this plugin.

How To Enable Custom Event Tracking In WordPress?

Now, let’s move to the tutorial.

The first thing you need to do is, buy the premium version of MonsterInsights WordPress plugin. With your Credit Card or PayPal account, you can purchase the plugin. Now, log in to your MonsterInsights account, download the premium version plugin to your computer.

Next, log in to your WordPress blog, install the premium version MonsteInsights plugin to your blog. Once you have installed it, activate it. Make sure that you have verified your license key so you will get updates and access to all their add-ons.

Now, we are good to move forward. The MonsterInsights plugin got a feature called Enhanced Link Attribution. So with this, we would be able to track every link in our blog. We might want to modify your link a little for enabling this feature.

Sadly, the visual editor won’t allow you to add a custom category, actions, etc. So, we will need to shift to the text editor for modifications. By default, when we add a link to our article, it would be like:

<a href="https://www.example.com/">Anchor Text Here</a>

What we need to do is, add data variables like a category, action, and label to the link. As I mentioned above, you will need to shift to the text editor for doing these modifications.

<a href="https://www.example.com" data-vars-ga-category="ABCD Category" data-vars-ga-action="ABCD Action" data-vars-ga-label="ABCD Label" >Example</a>

If you check the above code, you could see that we have added a category, action, and label to the HTML code.

After making these changes, save those.

MonsterInsights will take care of the tracking from now on. From the publisher reports section, you could see the precise reports.

publisher reports

Also, if you are using affiliate marketing as the monetization method, you will probably be relying on plugins like ThirstyAffiliates for link management. By following the same process, you will be able to track your affiliate links too.

affiliate link report

NOTE: You don’t need to track every link on your WordPress blog this way. We recommend following the important ones and outbound links to see how a user interacts with those.

So this is how you can enable custom event tracking in WordPress with the help of MonsterInsights WordPress plugin.

Get Started With MonsterInsights

You can get the premium version of MonsterInsights from below.

Get MonsterInsights

We hope you have found this article helpful and enjoyed the read. If you did, please consider sharing this article with your friends and fellow bloggers on social media. You can check out our blog section for more.

Leave a Comment