Do you want to maximize your affiliate revenue? Using Google Analytics, you can track affiliate link clicks on your site and gather all the data you need to optimize your links for maximizing affiliate revenue.
But before you do that, you need a plugin to manage and organize your affiliate links. This is where a WordPress plugin like Pretty Links comes in handy.
In this article, we’ll show you how to set up affiliate link tracking in WordPress.
The Benefits of Affiliate Link Tracking
Tracking the clicks on your affiliate links allows you to gather all the data you need to optimize your links to make more money online.
With affiliate link tracking, you can identify:
- Traffic sources of your highest converting visitors, so you can focus on promoting your content where it gets you the best ROI.
- Top earning pages where your affiliate links with the most clicks are placed, so you can optimize your highest-earning pages to make more money.
- New content opportunities to earn more affiliate income.
Before we dive into tracking your affiliate link clicks with Google Analytics, let’s take a look at why it is essential to cloak and manage your affiliate links.
Managing Links With an Affiliate Link Plugin in WordPress
When you first start out as an affiliate marketer, you may find it easier to promote affiliate products by simply adding affiliate links in your blog posts.
Affiliate links are typically long, ugly-looking URL’s, like this:
As you grow as an affiliate marketer, you’ll likely use the same affiliate link on tons of different blog posts.
But what if the company you’re promoting changes your affiliate link?
You’ll need to dig deeper into every blog post you publish to find and replace the affiliate links you’ve added. Or else, you’re losing money. Obviously, that’s a tedious task.
That’s when link management comes in handy.
Pretty Links Pro is a powerful WordPress affiliate link management plugin. You can organize all your affiliate links in a single place, so finding and replacing won’t be a hassle.
Apart from that, it also allows you to cloak your affiliate links, so you can turn your ugly affiliate links into more shareable and readable links. Best of all, using Pretty Links, you can easily track and optimize your affiliate links with Google Analytics.
Here are other amazing features offered by Pretty Links Pro:
- Offers advanced redirect types
- Auto-link keywords
- Get 1 year of support and updates
- Priority support for Supper Affiliate package users
- Auto-create pretty links
- Add head scripts to your URL
- Dynamic redirection
- Create categories and add tags
- See reports
- Import and export your affiliate links
If you’re an affiliate marketer who is not still using an affiliate management plugin, then you’re missing out a cool opportunity to better organize, track and manage your affiliate links.
Now let’s see how to use Pretty Links to set up affiliate links in WordPress.
How to Set Up Affiliate Links in WordPress Using Pretty Links
Pretty Links offers amazing features that make managing affiliate links very easy. Here’s how you can use the plugin to organize your affiliate links in your WordPress website.
Step 1: Install Pretty Links Plugin
To install 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.
Step 2: Add a New Affiliate Link to Pretty Links
Next, click Add New to enter an affiliate link to Pretty Links.
Step 3: Edit Your Affiliate Link
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.
In the Basic settings, 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 a 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, add a list of keywords that you want to automatically replace in a post or page.
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.
Now, let’s find out how you can track affiliate links in Google Analytics.
How to Track Affiliate Links in Google Analytics
Step 1: Install MonsterInsights
The best way to track affiliate links in WordPress is by using MonsterInsights. MonsterInsights allows you to set up affiliate link tracking in WordPress with just a click – no need to modify your Google Analytics code.
To get affiliate link analytics on your site, go ahead and Install MonsterInsights. After installing and activating the plugin, you’ll need to connect it with Google Analytics.
Read the step by step guide on how to properly set up Google Analytics using MonsterInsights.
Step 2: Set Up Affiliate Links Tracking
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 with 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 /recommends/ or /go/ or /refer/.
You can simply copy the prefix /recommends/ 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: /recommends/,/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.
How to Find Your Google Analytics Affiliate Traffic Stats
MonsterInsights lets you track affiliate clicks as events in Google Analytics.
To find an overview of your affiliate link clicks report, you can go to Behavior » Events » Overview.
You can also find top events and pages report just below the Events tab.
Additionally, customers of our Plus Tier and above get their own affiliate link tracking right inside WordPress in their Publishers Report!
We hope this article helped you set up affiliate link tracking in WordPress. If you’re also monetizing your blog with AdSense, you can learn how to optimize your ads using Google Analytics.