Disclaimer: This post may contain affiliate links. The opinions expressed are mine. Read more.

Affiliate Link Cloaking – What Is It, And How To Do It?

If you’re just starting with affiliate marketing, you probably heard the term “link cloaking.” It sounds like something out of a James Bond movie. But this isn’t some cloak-and-dagger spy thriller.

If you’re not cloaking your links, you’re not serious about affiliate marketing. You’re missing out on the huge advantages of link cloaking and should start immediately. Want to find out why? Keep reading…

First off, let’s define what “link cloaking” means.

Quite simply, link cloaking is masking a link to hide the destination website’s URL. When a site visitor clicks the cloaked link, it redirects to the intended merchant.

Here are the reasons to cloak affiliate links:

  1. You want clean URLs
  2. To make the links easier to share
  3. To better manage the links
  4. For tracking and reporting

I’ve read on other sites that you should use link cloaking to prevent other affiliates from stealing your link. The only potential situation in which this would occur would be if a visitor had malware or some rogue web browser plugin on their computer.

In my opinion, while this can happen, this is rarely the case and isn’t a valid reason why you should perform link cloaking.

Clean Affiliate Links

The function of affiliate links is to track the traffic that your website sends to a merchant. They usually consist of codes that identify key information about the program.

Typically, affiliate links look like a convoluted mess. Even most affiliate marketing people would describe an affiliate link as a long URL with nonsensical information. If a professional thinks it ‘s confusing, what does someone without a technical background think when they look at the link?

You want commerce to be as frictionless as possible. Trust is a critical factor in e-commerce. Trust applies not only to you and your website but also to the destination links you place within your website. You don’t want to instill any doubt in a reader before they click on an affiliate link.

This is especially important when it comes to affiliate marketing.

By presenting a clean, understandable affiliate link, you’ll inspire trust in your visitors and make them more likely to click.

Now, I’m not suggesting that you should cloak the link to fake out the visitor. If anything, it’s quite the opposite.

Here’s an example from my own website. This is an affiliate link for the hosting provider Bluehost. Which of these URLs looks better and more trustworthy to you?




The first URL doesn’t state anything about Bluehost. The second URL gives more visual cues to the reader about the destination.

Easier to Share

Because the cloaked links are cleaner, they’re easier to share.

I’m constantly asked about the various services I use. Instead of having to look each one up individually and cutting and pasting a long string of code, I can tell you offhand what the link would be.

All of my cloaked affiliate links look like this:


Using a system like this makes it very easy to give out impromptu affiliate links. And in turn this yields more revenue from the merchants I have relationships with.

Affiliate Link Management

Managing affiliate links can be a pain. Not only can they be found on your website, but you should also include them in emails and social media posts. To make the links easier to manage – and to also have the ability to use the same links across different media — it makes sense to manage them in one central location.

This is where an affiliate link management service comes into play.

Affiliate link-cloaking software comes in two forms:

  • WordPress plugins
  • Software as a service (SaaS)

WordPress plugins tend to easier to use, since they are part of WordPress. However, they offer less functionality.

The affiliate link management SaaS products have much more functionality for a “super affiliate,” but they’re more complex to implement.

Using either form streamlines link management. If the merchant changes the offer, you have to change it in only one place. If the merchant changes affiliate networks (a common occurrence), again, you have only one link to change.

You can reuse the same merchant link for all of your campaigns. The only reason to use a different link is for a different offer.

I’m very anal about managing affiliate links, and you should be too! After all, they’re the lifeblood of any affiliate-based business.

Nothing is worse than clicking on an affiliate link that’s no longer valid. It leads to a poor user experience. Using a direct link supplied by the merchant leads to a lot of work anytime you are required to update a link. That’s why it’s critical you use a link management system.

Link Tracking and Reporting

This is the most critical, but often overlooked reason to cloak your affiliate links.

A good link tracking tool should at least track clicks. You should be able to generate a report telling you merchant XYZ saw 14 clicks last month. A common one used by WordPress users is Pretty Links.

Pretty Links

Larry's Take

Pretty Links Pro is a cheap and easy-to-use WordPress plugin for tracking links. It is perfect for bloggers just starting out in affiliate marketing. You can use it for as little as $99.50 per year.
7.5 Out of 10
Conversion TrackingNo
PriceFREE - $199.50 per year
Learn More

Pretty Link is nice, but it can only manage and track clicks. The better services track conversions.

Why do you want to do this?

If you want to become a “super affiliate,” you must track conversions.

Most affiliates are happy with a monthly report that states only how many conversions you’ve seen in a month.

I’ve always wanted more than that, and you should too!

There’s technology available that can let you treat merchant conversions as if they were your own. You can report not only the number of conversions but the source of each conversion, as well.

Most affiliate marketers rely on SEO for website traffic. This is fine if you’re building an audience only via organic search. After all, you aren’t paying for it. Tracking isn’t as critical with search.

If you get as advanced as I am, you can track not only which web pages convert better for your merchant, but which traffic source (see my UTM parameters guide). You can answer questions such as: Which had a better conversion rate email: your web post or that paid social media traffic?

One such service that can track clicks and conversions is ClickMagick.

Larry's Take

ClickMagick is an alternative link-shortening service that specializes in ad tracking. I feel the user interface could be easier to use. It does have some advanced tracking capabilities not found anywhere else. It is worth checking out ClickMagick to see if they meet your needs.
8.0 Out of 10
Conversion TrackingYes
Price$37 - $197 per month
Annual DiscountNo
Promotion14-Day Free Trial
Learn More

How to Track Affiliate Conversions

You have two options when it comes to affiliate conversion tracking:

  • Postbacks
  • Tracking pixels


You might see these tracking options also referred to as “trackbacks,” “webhooks,” or “server-to-server conversions.” In our discussion, I’ll just refer to them as “postbacks.”

This is the most reliable method for tracking a conversion. It should be your first choice when setting up affiliate conversion tracking.

A postback communicates an event via two servers using the HTTP protocol. This is the very same protocol used to send webpages you see on the internet.

Postbacks can “fire” (send a signal) for any type of event, including those that aren’t tied to a visitor’s web browser session. By its very nature, a postback is more flexible than a tracking pixel, but it’s also more complex to implement.

Tracking Pixels

If you’ve used Facebook’s ad platform, it’s more than likely you’re already familiar with using pixels.

The term “tracking pixel” refers to a barely perceptible 1×1 dot placed on a webpage. A tracking pixel “fires” when the web page loads, alerting whomever placed the pixel.

Today, JavaScript is the primary method for placing tracking pixels. Typically, a tracking pixel is placed on the “your order is complete” page, but it can be used for any webpage event – visiting an article, a shopping cart page, or an email sign-up confirmation.

The tracking pixel’s biggest limitation is that it’s web based. The internet doesn’t exist only on web browsers – we have email and smartphone apps. Not to mention the fact that user-installed ad blockers (and some web browsers by default) can block the firing of a pixel.

Tracking pixels are unreliable at best. In my opinion, you should use them only if a postback isn’t available.

Unfortunately, many merchants don’t support either system with the software they use to track affiliate conversions.

What If Your Merchant Doesn’t Support Conversion Tracking?

Not all merchant affiliate software supports the ability to send information about individual conversions. In many cases, you’re lucky to get a report with a grand total of the conversions for the previous month.

If the merchant doesn’t support conversion tracking, you should push for tracking one way or another.

The easiest option is to supply your merchant with a tracking pixel.

However, some merchants are weary of installing a pixel on their site. Rightfully so. There are possible security risks involved in installing a third-party pixel. Plus, working with many affiliates will mean multiple pixels installed. This can be a nightmare to maintain.

So what other options are available?

You have two options:

  1. Work with an affiliate network like Commission Junction or Impact
  2. Use an in-house system like TUNE or Cake

Both options support the postback option.

Lastly, you can suggest that the merchant’s decision prevents you from better promoting the service via paid ads and alike. They might change their minds.

Pretty much any service that allows you to manage your affiliate links can cloak them as well. However, most of these services don’t support conversion tracking.

The most popular affiliate marketing blogging tool is WordPress. I assume you’re using it too.

Not all affiliate management and link-cloaking services have a WordPress plugin. At the same time, if they do have a WordPress plugin, they can’t do conversion tracking.

Link TrackerRequires WordPressAmazon SupportConversion TrackingAd TrackingStarting Price
Pretty LinksYesNoNoNoFree

Of all these tools, I recommend using ClickMagick. ClickMeter used to be the best for this, but they are no longer in business.

My affiliate tracker plugin allows you to create affiliate links regardless of which affiliate system you use. In addition, it creates affiliate links in a standardized way. That allows you to manage affiliate links so they’re compliant with Google and won’t affect your SEO. Check it out.

URL Cloaking FAQs

Larry Ludwig

About Larry Ludwig

Larry Ludwig is an entrepreneur, financial expert, tech & marketing guru with over 25 years of industry experience.

In July 2018, Larry successfully sold Investor Junkie for $6 million.

You May Also Like

Notify of
Newest Most Voted
Inline Feedbacks
View all comments
Janine Murphy
2 years ago

Awesome content Larry. Thank you! I’m an affiliate marketer and I have several sub-affiliates under me. We are sending content through social networks but they have started to ban our accounts because all our accounts share the same destination link (text, images, titles even meta tags are different). Obviously, we have already stopped. Do you think we can avoid being banned by cloaking or redirecting our links, regardless of the fact that the final domain destination will be the same for all? Can I do the above with ClickMeter?