Link Cloaking, What is it?

posted by jangro on (3 years ago)
I hear a lot about "link cloaking" and that I should be hiding my affiliate links to keep them from getting hijacked. Is this true?
-- Joe S.

What is Link Cloaking?

Link Cloaking is the technical practice of hiding an actual URL through a link on the local domain, or a through a benign third party domain.

URL shorteners, which we've all become so familiar with thanks to services like Twitter, is probably the most commonly seen link cloaking. When you use a service like bit.ly, tinyurl.com, is.gd, etc., you're technically cloaking links.

Why Would You Want to Cloak Links?

Most people use URL shorteners so that they simply make long URLs more manageable. If you've got a big long URL to a product on an ecommerce website and you want to put it in an email, a nice short URL that redirects to it is much easier to manage. URL shorteners become mandatory when using a service like Twitter where you've only got a very small number of characters to write a message.

Affiliate Marketing is sort of a special case where there are several other reasons that people want to cloak their affiliate links.

  • Hiding links from users -- there is a belief that consumers are becoming sensitive to the existence of affiliate codes in links and therefore a fear that they will work to bypass the affiliate tracking link by going directly to the merchant site manually. There may be some truth to this.
  • Hiding links from search engines -- some believe that search engines will look for fingerprints of affiliate links on websites to identify them as affiliates. Cloaking links can remove these fingerprints and hide them behind what looks like a local URL. It's a good idea to put these links in the robots.txt file so that search engines won't even try to follow them.
  • Prevent passing of "Link Juice" -- this works; URL shorteners use 302 redirects which are "temporary" redirects. Search engines generally discount any weight associated with these links.
  • Hiding links from "hijackers" -- this is bunk, and generally used as a fear technique to sell software. Any spyware or other software that is designed to "hijack" clicks isn't looking for affiliate links to replace the ID in. They'll be looking at where the click ends up and will do the hijacking there. Cloaking links will not stop this activity.

How do you cloak affiliate links?

If you're just cloaking a single link, the easiest thing to do is use a URL shortening service. TinyURL is the first service like this, but it has been overtaken by newer services fueled by the high demand for these services fueled by twitter. There are many, many services that add great features like custom URLs, click stats, header frames, etc.

If you're routinely cloaking links on your own websites, you're probably going to want to either set up a procedure on your own server, or even do something to automate this.

You can set up redirects manually in your .htaccess file, get a redirector or cloaking Wordpress plugin (if you're using Wordpress), get a third party URL shortener that you can host on your own server (like Shorty), or build something custom.

Most of our links are run through our own custom redirector for the purpose of tracking clicks. This has the secondary benefit of cloaking the link as well.

The technical details on how to cloak links is too much for this post, but I'll follow up with a post on a few methods of cloaking that you can easily do yourself.


Comments & Reactions

  • jangro saved this to Affiliate Marketing 3 years ago
  • Posted by Pat Grady 3 years ago

    "Most of our links are run through our own custom redirector for the purpose of tracking clicks."

    custom here too, for tracking and for ease of programming (ie deep linking).

    i do think today's first tier search engines can sniff right past cloaking when determining if a site is an affiliate site, so i'd add bunk to that category of yours as well. robots may stop crawling your domain's specific redirectors / links, but it doesn't always stop detecting and understanding them.

    in addition, some unethical affiliates have other reasons for cloaking links, almost always obfuscation being practiced to more easily avoid detection of practices like dtm ppc poaching or cookie stuffing.

    thanks for saying what you did about software, i completely agree!

    Posted by Scott Jangro 3 years ago

    Hey Pat.

    While I think that Search Engines can certainly follow masked links if they want, I find that if they're blocked in robots.txt, they don't.

    I think they've got better things to do, and in fact, I don't even think masking affiliate links is necessary. A site is either useful or it isn't. The presence of affiliate links has no bearing on that, and I think they believe that.

    People who think their site got killed because simply there are affiliate links there are probably kidding themselves as to the real reason.

    Posted by Pat Grady 3 years ago

    We completely agree on your paragraphs 2 & 3. On paragraph 1, yes, robots stops the (well behaved) crawlers from following the links, as I said before. No compelling need to argue the finer points of crawl blocking versus algorithmic link destination detection with you, the other paragraohs make it moot for a discussion between us. But by leaving it looking like it's an effective hiding technique (it isn't!), I think your readers are done a disservice, although a microscopic one.

    Posted by Online Writers Needed- Make $500 Daily 2 years, 12 months ago

    I usually use affiliate marketing as my main source of income and I have to say I earn way much more when I use cloakers. I don't too much like the free ones because you never know when the webmaster and their website will fold, but I like subdomain cloaks better because they are harder to detect. The free online look unprofessional and most sites have already banned them.

  • Posted by Link Cloaking, What is it? | AffiliateCarnival 3 years ago

    [...] Link Cloaking, What is it? [...]

  • Posted by Mikael @ RetireRichRoadmap 3 years ago

    There are only two reasons for me cloaking links. The first is that I think it looks better :) and the second is that I just want to make sure that I'm not loosing any sales because and occasional visitor would avoid clicking an affiliate link.

  • Posted by TrishaLyn 3 years ago

    [...] Link Cloaking, What is it? - Scott Jangro addresses the ways you can cloak affiliate links.  Also see where I discussed PHP redirects. [...]

  • Posted by a-z info 3 years ago

    thanks for your useful information

  • Posted by Exams Practice 3 years ago

    Thanks For very informative .... information

  • Posted by kartal 3 years ago

    Thanks for information...

  • Posted by Discount Stores 3 years ago

    I am currently building a website and I'm new to this. I kept seeing people write do not cloak on your website or you will get banned from googles SERP. I had no idea what they meant, but this article explained a lot.

    Thank you very informative.

    Posted by design Miami 3 years ago

    Yeah it did. I thought I knew what it was all about but apparently I didn't know even half of it. Great article.

  • Posted by ra_ygz 3 years ago

    thanks

  • Posted by benimnet 3 years ago

    Thanks for information

  • Posted by Mr Quicker 3 years ago

    Thanks everyone for thanking him on my behalf, and let me also extend those thanks to those below me who might thank me for this comment, and, finally, thanks from me to the gentleman who wrote the informative post, for which I am thankful.

  • Posted by Decor 3 years ago

    This is some great and very useful information. You learn something new every day.

  • Posted by Greg 2 years, 12 months ago

    We run all of our affiliate links through a custom jump.php page the affiliate links are cloaked and so we can see what links are being clicked on by users.

  • Posted by Alfred 2 years, 12 months ago

    Don't forget dickens url, which makes your link into a Dickens quote (url lengthener?)

  • Posted by Hugo Santos 2 years, 12 months ago

    any free wordpress plugin that cloaks and auto links words?

  • Posted by jonesaudrey 2 years, 12 months ago

    There are many website which cloak their links in order to provide privacy for their user. Many people do say that cloak link is unethical, but in some cases it is highly beneficial. To me cloak link is bad because it generates a lot of spamming and in some cases it works like fraud activity. Thanks

  • Posted by Telkom 2 years, 12 months ago

    I'd say the main reason for cloaking is to prettify messy links, and of course for a great deal of people it's to stop the person seeing the source site, so if it's a pr0n site or leminparty they won't know until it's too late :D

  • Posted by Affiliate Link Cloaking: Definition, Reasons & How To’s « Affiliate Marketing Blog 2 years, 11 months ago

    [...] He explained the reasoning behind each of the above in detail, and also listed a few of the ways of how one can cloak links. Read his full post here: Link Cloaking, What is it? [...]

  • Posted by onlinecontests 2 years, 11 months ago

    i been doing link cloaking long time ago. Now it is getting easier than ever before

  • Posted by Kurtlar Vadisi Pusu 61.Bölüm Fragmani ?zle 2 years, 11 months ago

    Thanks for information…

  • Posted by webmaster 2 years, 11 months ago

    One more point,link cloacking is useful when for example you want someone to do some work for your website (i.e graphics work), so if you post your website url without cloacking this can expose you to your competitors....so cloacking is good :D

  • Posted by Nathan 2 years, 11 months ago

    Yes, my company always uses link cloaking. We do it most of the time for hiding our affiliate links but also out of habit sometimes.

    http://www.ijumphigher.net" rel="nofollow">How to Jump Higher

  • Posted by badot inside 2 years, 11 months ago

    it's very helpfull for me, thanks for sharing

  • Posted by Marco 2 years, 11 months ago

    nice post i admit i didn't know about this

  • Posted by kathleen 2 years, 11 months ago

    Hey Great Post,I was wondering how to shorten my url for sites like twitter I'm just wondering will a cloaked url hurt from getting spidered. Very Helpful.Thanks

  • Posted by Salman 2 years, 11 months ago

    Superb post Keep it up

    Regards salman
    http://www.tips4blogging.co.cc for blogging tips and hacks

  • Posted by moralde 2 years, 11 months ago

    There's a WP plugin called pretty link by blair williams that makes this process easier for anyone. YOu migth want to try it out.

  • Posted by youtube 2 years, 10 months ago

    ReaLLy, iS it so beautifuL ?..

  • Posted by Michael J Ottman 2 years, 10 months ago

    I really like this post because I have been wondering the best way to go about hiding links. I currently use a php redirect to do it but I'm not sure if there is a better way.

    I'm looking forward to hearing more about the subject and am not quite sure how to track it either as I'm kind of new to this stuff.

    I just don't want to look unprofessional with a million affiliate links all over the place. Thanks again for the post.

    Michael J Ottman

  • Posted by Discon 2 years, 10 months ago

    There are many website which cloak their links in order to provide privacy for their user, I am currently building a website and I’m new to this. I kept seeing people write do not cloak on your website, I’d say the main reason for cloaking is to prettify messy links, Many people do say that cloak link is unethical, but in some cases it is highly beneficial.

  • Posted by Oil Jobs 2 years, 10 months ago

    Very useful and pertinennt info :). Thanks a lot!!

    Regards

    Anita

  • Posted by Amy 2 years, 10 months ago

    I'm well versed with it but I never ever tried it with real projects

  • Posted by Mika 2 years, 10 months ago

    Nice post. I do have a question though. Is there opensource software to run those short url sites? I mean if I want to run my own short url service.

    Posted by Amy 2 years, 10 months ago

    Hey, I'm glad to respond you that Yup there is a software which you can download and run it and the name is :


    http://get-shorty.com/

    Go and get it :)

  • Posted by seviyelisohbet 2 years, 4 months ago

    thank you

  • Posted by seviyeli sohbet 2 years, 4 months ago

    thank you web sitews

  • Posted by As Seen on TV 2 years, 1 month ago

    This is an extra step I haven't implemented or even considered. I used just nofollow to avoid passing any link juice to my affiliate sites, but I did learn about my competitors networks from their outbound links and joined them. Not sure how savvy most shoppers are to know whether a link goes to an affiliate site or not.

  • Posted by Future Metals 1 year, 11 months ago

    What will happen with our sites when we encounter these things? I mean SEO and SERP results.

  • Posted by gucci 1 year, 11 months ago

    "Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!

  • Posted by louisvuittonJewelry 1 year, 11 months ago

    Does this world exist if we fell in love with the someone we should not have?Is it a joke that god and devil makes if I loved you.
    http://www.wslmart.net/" rel="nofollow">
    http://www.wslmart.net/

  • Posted by gucci 1 year, 11 months ago

    Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum! http://www.oneor-more.com/" rel="nofollow">
    http://www.oneor-more.com/


Leave a comment


Comment via Facebook

Listed Under

Reactions

Tags