If you're new here, you may want to subscribe to my RSS feed.
Thanks for visiting!

Cloaking your affiliate links is a fairly debatable topic. On the one hand, people will cloak their affiliate links because they believe that a link like www.buybuybuy.com/affiliate.php?id=12312 is really obvious, and people will instead just go directly to the site instead of clicking on the link, therefore robbing you of your commission. On the other hand, some people believe it’s more honest and better to fully disclose your affiliate links and let the visitors choose whether they want to give you a commission or not.

The Yimto Verdict?

I personally believe that cloaking affiliate links is the way to go. That’s because if people learn about something or make a purchase after reading your recommendation, you SHOULD get a commission, because that’s what affiliate marketing is all about!

I don’t believe its “dishonest” to do this at all either, in fact it’s totally fair! I use affiliate links on this site, I can tell you that right off the bat, but it’s not like I sugar coat everything or make wild sales pitches. I give you the best information I have, and if I think a product will help you, then I will recommend it!

At the same time, if I think a product is crap, I’ll sure as hell let you know, no matter how amazing the conversion rates or commissions are!

Ok, that’s what I “think”. Here’s what I “know”

There is an even better reason for cloaking your affiliate links though, and it really trumps the entire debate. By using the redirect link cloaking technique, which is the easiest and most common, you can change all of your links’ destination urls with one simple change, instead of going through every single link you’ve ever used.

You never know when an affiliate program may change some aspect of their tracking links, or stop selling all together. You should be prepared for this, and that’s why I highly encourage cloaking your affiliate links.

I mentioned redirection as a cloaking technique, and there are 2 easy ways of doing it:

1. HTML Meta Refresh Redirect

Right Click -> Save As Here to download an HTML template I’ve been using for a while to make my links.

With the HTML redirect, you can insert Google Analytics code and track all your clickthroughs, which is a great help for tracking conversion rates.

The only problem is that I’ve heard there may be an issue with some people not getting redirected, and being left at a blank screen. I believe this may have something to do with the super fast meta refresh speed, so you could either put a 1 second delay (at content=), or add a “If you are not automatically redirected, click here.”

2. PHP Header Redirect

Right Click -> Save As Here to download a basic PHP template I’ve been using to make my links.

This one is as basic as it gets, and I think it’s may be the most efficient. The only problem is that I have not yet found a surefire way to track clickthroughs with Google Analytics yet, so I will let you know if I find out more about this.

Your Redirect Link URLs

Once you’ve created your links, you could link to the file itself, but if you use your .htaccess to set a default file for your folders, for example index.html, or index.php, you could link to a folder. I have not experimented with this yet, so unfortunately I can’t give you instructions, but I believe this explains it (I just haven’t tried it :P) http://www.javascriptkit.com/howto/htaccess6.shtml

So, your link could be http://www.test.com/recommends/amazingproduct.html
or http://www.test.com/recommends/amazingproduct

And remember, you can put these links all over the place, and if you ever had to change them, all you need to do is edit the one file that is on your server! It really is the best way to get the most out of your affiliate marketing campaigns.

If you enjoyed this article, then subscribe to my RSS feed.
I've got plenty more great posts coming up you won't want to miss!