Do you want to maximize your affiliate revenue? And do you know which links get the most clicks?
By tracking your affiliate links in WordPress and Google Analytics, you can gather all the data you need to optimize your links for maximizing affiliate revenue.
But using Google Analytics can be tricky, especially for beginners. This is where MonsterInsights comes in handy. You can track affiliate link clicks on your WordPress website in just a few clicks.
In this article, we’ll show you how to set up affiliate link tracking in WordPress.
Table of Contents – How to Set Up Affiliate Tracking
We’ve divided the post into different sections, so you can jump ahead to any part you’re interested in:
- How Affiliate Tracking Helps You Make More Revenue
- How to Track Affiliate Links in Google Analytics
- How to View Your Affiliate Link Tracking Report
- How to Set Up WooCommerce Affiliate Link Tracking
Let’s kick things off…
Not interest in watching the video? You can continue ahead and read the written step-by-step tutorial for tracking affiliate links.
How Affiliate Tracking Helps You Make More Revenue
Affiliate marketing is a great way to make more money online. You can sign up for different affiliate programs and promote products for different solutions.
The best way to track your affiliate links is through MonsterInsights. It’s the best WordPress plugin for Google Analytics, and you get affiliate link tracking right out of the box.
Here’s how tracking affiliate links can grow your revenue:
1. Track All Affiliate Links in a Single Location
As an affiliate marketer, you might want to promote several products that use different affiliate programs like Commission Junction, Amazon Associates, ShareASale. Or you may have different affiliate products listed on your WooCommerce store.
With MonsterInsights affiliate tracking, you can see how much traffic you send to each product from a single report regardless of which affiliate program you’re using.
You get to see how each affiliate is performing at a glance without leaving your website.
2. Earn More Affiliate Revenue by Comparing Traffic vs. Revenue
Imagine you’re promoting 2 rival products (Product X and Product Y) on your site, and you’re making more revenue from Product X than Product Y.
But from the affiliate tracking report in Google Analytics, you realized that you’re sending more traffic to Product Y.
This means that if you send more traffic to Product X (which is a highly converting product), you could have easily earned more affiliate revenue.
Without an affiliate tracking report, you won’t be able to easily review the number of visitors you send to each product. That’s why tracking each affiliate helps you optimize your site to grow your revenue.
3. Give Prominence to High Performing Affiliates
Another benefit of an affiliate tracking report is that it lets you see how many clicks your affiliate links are receiving on each page.
Imagine you’re promoting 10 different products in a listicle and figured out the product you placed in the 4th position in that article is receiving more clicks than the product you placed in the first position.
This clearly shows that you might want to lower the position of the first product because not many of your readers are interested in that product.
That way, you can send more traffic to the product that converts better and generates more revenue.
With that, let’s see how to track affiliate links in Google Analytics.
How to Track Affiliate Links in Google Analytics
Follow these steps, and you’ll be able to see which affiliate link is performing the best in no time.
Step 1: Install and Activate MonsterInsights
First, you’ll need to install MonsterInsights on your WordPress website. MonsterInsights allows you to set up affiliate link tracking in WordPress with just a few clicks – no need to modify your Google Analytics code.
To get affiliate link analytics on your site, go ahead, and download MonsterInsights from your account area.
Next, upload the plugin on your WordPress website by going to Plugins » Add New » Upload Plugin and then click the Install Now button.
Now, activate MonsterInsights by clicking the Activate Plugin button.
After installing and activating the plugin, you’ll need to connect it with Google Analytics. MonsterInsights setup wizard makes it super simple to add Google Analytics tracking code to your website.
For more details, read our step-by-step guide on how to set up Google Analytics on your WordPress website properly.
Step 2: Set Up Affiliate Links Tracking
The next step is to set up affiliate link tracking in MonsterInsights.
Navigate to Insights » Settings, and click on the Publisher tab at the top of the page, and then to the Affiliate Links section.
You’ll now see 2 fields on the page.
1. Set path for internal links to track as outbound links:
This field allows Google Analytics to differentiate your affiliate link clicks from other clicks. For example, if you’re using an affiliate link management plugin, this is how your affiliate link will look like:
In the above example, your affiliate link begins with /recommend/ or /go/ or /refer/ or /product/.
You can copy the prefix /recommend/ on this field, so Google Analytics can identify which internal links are affiliate links. If you use multiple prefixes, you can separate them with a comma: /recommend/,/out/, and so on.
2. Label for those links:
The label in your Google Analytics report lets you identify where the click came from. For example, you can add a label aff or affiliate to your links. The label will be added to the end of your page URL, like outbound-article-aff.
After filling in these 2 fields, you can click Save Changes.
Step 3: Cloak Affiliate Links with Pretty Links Plugin
Next, you can cloak your affiliate links using Pretty Links Pro and make them more shareable and readable.
Usually, Affiliate links are long, and ugly-looking URL’s like this:
But using the plugin, you can convert them into clean URLs like this:
Pretty Links also offers amazing features that make managing affiliate links very easy. You can organize all your affiliate links in a single place, so finding and replacing them won’t be a hassle.
Here’s how you can use the plugin to organize your affiliate links on your WordPress website.
To install the Pretty Links WordPress plugin, go to your website’s dashboard and then click Plugins >> Add New. Then search for Pretty Links and click Install Now.
Once you install the plugin, it should appear in your WordPress dashboard. Click on Pretty Links to view their welcome screen.
Next, click Add New to enter an affiliate link to Pretty Links.
First, give your affiliate link a name and then move on to the settings.
Pretty Links offers three settings to edit your affiliate link: basic, advanced, and Pro.
You can select the type of redirection you want (301, 302, 307), enter your target URL, set your own customized Pretty Link, and add a note if you want.
Advanced settings let you select no-follow and no-index tags for your link, parameter forwarding, and setting up tracking.
Pretty Links Pro offers more options for customization. You can set the links to expire after a certain date and add a list of keywords that you want to replace in a post or page automatically.
It even offers automatic replacement of URLs and dynamic redirection. You can also enter tracking scripts such as Google Analytics or Facebook pixels in the affiliate links.
Once you’ve entered your settings, click Update in the top right corner.
If you go back to your Pretty Links dashboard, you can now see the newly added affiliate link.
After that, MonsterInsights will automatically start to track your affiliate links. With that, are you ready to view your affiliate links report?
How to View Your Affiliate Link Tracking Report
Now, you can see the report inside your WordPress dashboard using MonsterInsights. It brings your important Google Analytics data to your admin area, and you don’t have to leave your website.
Go to Insights » Reports » Publishers and scroll down to Top Affiliate Links to see the report.
And if you want to view the report in Google Analytics, click the View All Affiliate Links Report button in MonsterInsights or log in to your analytics account and go to Behavior » Events » Top Events.
Now, let’s find out how to track WooCommerce affiliate links in WordPress.
How to Set Up WooCommerce Affiliate Link Tracking
Besides affiliate links in your content, if you have a WooCommerce store and have different external/affiliate products on your online store, MonsterInsights will automatically track them.
To start, enter the URL of your affiliate link in WooCommerce by going to Products » Add New and scroll down to the product data meta box.
Next, select External/Affiliate product from the drop-down menu, enter a product URL, button text, and regular price. Once that’s done, Publish your product.
MonsterInsights will now automatically track WooCommerce affiliate link clicks. You can view the report in your WordPress dashboard by going to Insights » Reports » Publishers » Top Affiliate Links and see which affiliate is getting the most clicks.
Using MonsterInsights, you can now see how your affiliate links perform and use the data to grow your revenue.
We hope this article helped you set up affiliate link tracking in WordPress.
We bet you’d also like to read Best Affiliate Plugins for WordPress!
Plus, if you’re monetizing your blog with AdSense, you can learn how to optimize your ads using Google Analytics.