Magazine

How To Track Affiliate Link Clicks In Google Analytics?

Posted on the 11 February 2022 by Nirmalkumar1997

I have earlier covered some nice beginner-friendly articles on affiliate marketing and how to get started with it. The first step to affiliate marketing is to find a suitable affiliate program and to join them.

But, what happens next?

After joining an affiliate program, you will receive an email from the respective Affiliate Manager with an affiliate link. All they request you to do is to share the affiliate link. And whenever any sale takes place through this affiliate link, you will get a commission.

Wait!

But, who will be purchasing through your affiliate link? How are you going to keep track of it?

That’s what we are going to discuss today.

MonsterInsights
  • MonsterInsights is the Best Google Analytics Plugin for WordPress
  • Over 2 million Professionals use MonsterInsights to grow their Business
  • Up to 50% off on MonsterInsights Subscriptions - Limited Time Deal (Only for Today!)
Monsterinsights logo Learn More

Before worrying about tracking affiliate links, let’s dig some basics. You must understand how to use these affiliate links.

It is not recommended to share your affiliate links by copying and pasting them from your affiliate dashboard. They are called naked affiliate links. For the Bluehost affiliate link, it would look something like

https://www.bluehost.com/track/blogheist/

Where the (blogheist) represents your Tracking ID (or Affiliate ID). When you share your affiliate links everywhere directly like this, you could end up with some major problems.

Problem 1: Google Hates It Problem 1: Google Hates It

First and foremost is Google And SEO. They don’t like it. And they consider it as a paid endorsement for an affiliate website. And so they want you to devalue these links.

To comply with Google’s SEO guidelines, we need to use the nofollow tag for these links.

But, manually adding nofollow tags is a tedious task.

The next problem you will come across is broken affiliate links. Over a period of time, your affiliate program can change the affiliate link structure. In such cases, you need to update your affiliate links. But, you would have used the same affiliate link in multiple places.

Changing all these affiliate links is another tedious task!

How cool would it be if you could change the affiliate link at one location, and the rest would be changed automatically?

Problem 3: Your Competitors Know the Worst Tricks Problem 3: Your Competitors Know the Worst Tricks

The worst case of using naked affiliate links is allowing your competitor to know your affiliate ID. If he isn’t an ethical blogger, he could add your affiliate ID to many spam websites.

And that could be the end of your Affiliate Marketing journey for the particular program!

(Seriously! Your account can be blocked. Read the Affiliate Terms and Conditions for more info)

What’s the Solution? What’s the Solution?

To overcome all these problems, you need to cloak your affiliate link.

But, what is cloaking affiliate links?

Link cloaking is the process of disguising the affiliate link URL, provided by an affiliate program, to obfuscate your affiliate ID and make the link shorter. This protects your affiliatecommissions by making the affiliate ID less visible and makes the link more visually appealing to visitors. (By ThirstyAffiliates)

By cloaking my affiliate link for Bluehost,

will become like this.

BlueHost

I use the ThirstyAffiliates plugin to cloak my affiliate link, and I would recommend it for your website.

Okay, Let’s back to the topic.

I recommended you use the ThirstyAffiliates Plugin for various reasons. First, it helps you cloak affiliate links. And next, it can also support you to keep track of affiliate link clicks at Google Analytics.

By default, Google Analytics will not track the cloaked Affiliated links. But we can track these affiliate link clicks using a plugin called MonsterInsights.

MonsterInsights is a freemium plugin. The premium plans start at $99.5 per year. However, the Lite version available at the WordPress repository is more than enough for tracking affiliate link clicks.

monsterinsights free

Now, let’s get to the tutorial!

Step 1: First, you will have to install the MonsterInsights Plugin from the WordPress repository.

Install Monsterinsights plugin

And then activate the plugin.

Activate MonsterInsights Plugin

Need more assistance, feel free to check our tutorial on installing WordPress Plugin.

Step 2: In your WordPress sidebar, choose MonsterInsights -> Settings and Proceed to the General Settings. Here you will notice a section called Google Authentication.

Google Authentication in MonsterInsights Plugin

You could use the Authentication feature to connect Google Analytics with the MonsterInsights plugin, or else you can simply copy and paste your Google Analytics UA Code (This code can be obtained from your Google Analytics account)

Step 3: After successfully connecting your Google Analytics, Proceed to the Publisher tab.

Tracking Affiliate Link Clicks with MonsterInsights Plugin

I have entered the path and Label for my Affiliate Links.

Path – It is the base in your affiliate permalink. In my affiliate link https://blogheist.com/r/bluehost, it is ‘/recommends/.’

Label – This is for your own reference. You can identify your affiliate link clicks in Google Analytics using this Label.

So, now you have configured the MonsterInsights plugin to track your affiliate link clicks. Now, let’s test it.

After getting enough affiliate link clicks, now you want to check the traffic source for these affiliate links. To do that, you can simply go to the Google Analytics dashboard.

And then navigate to Events » Overview.

Overview section under Events at Google Analytics

Here you could notice my affiliate link clicks being tracked.

Affiliate Link Clicks Tracked under Google Analytics

It works!

Wrapping Up: Wrapping Up:

With this Google Analytics Report, you can know which links get more clicks and don’t get. You could optimize placing these affiliate links and play with them.

I hope this trick will help you understand your shortfalls, and you can focus on boosting your affiliate marketing revenue.


Back to Featured Articles on Logo Paperblog