Hiding an affiliate ID link is a way to boost your sales. But there are many more reasons why you should or shouldn’t use tricks to hide an affiliate ID link. If you want to sell products on your web site it’s a great way to make profits. But it’s possible to use tricks just to hide long url address and make it shorter.
Well, before starting i want to say that i won’t tell you how to use iFrames because search engines doesn’t like it so i think it’s not so important to use it.
Also there are tricks that depends on what url you want to hide. You may want to hide an url which links to the text or url used to link images or just links to hide in status bar.
1. Hiding text links
Let’s say you want to hide an url (affiliate ID) on you website or in the articles you write and don’t see it at all you can use this code:
<a onmouseover=”window.status=’You are now visiting another page’;return true;”onmouseout=”window.status=”;return true;” href=”http://mywebsite.com>Clicking Here</a>
Another code is not to hide but to show different link. Let’s say you link to domain.com/affiliate=12345 you can show only domain.com but when you click back botton in your browser you you will be able to see original link again. This method is used by google.
<a href=”http://www.domain.com/” id=”link1″ onclick=”document.getElementById(‘link1′).href=’http://domain.com/affiliates/id=12345′;”>Your Domain</a>
2. Hiding image links
To hide image links you can use several methods. The first method is to hide and don’t show links and the second method is to show different link using php-based redirects.
<a href=”http://www.domain.com/id/your=id” onmouseover=”window.status=’http://www.domain.com’;return true” onmouseout=”window.status=”;return true” target=”_blank”>
<img style=”border: none” src=”http://www.domain.com/banners/images/banner_ads_125×125_02.gif” alt=”Your desired text” /></a>
Don’t forget to change your image url. When you move mouse over your banner in the example mentioned above you won’t see any links directing to an image.
3. Hiding link in status bar.
Another interesting trick helps to hide link in the status bar using a script.
<script>
var statustext=”http://www.digit-8.com”function hidestatus(){
window.status=statustext
return true
}</script>
<a href=”http://www.digit-8.com/7dollarsecrets/scripts/” onmouseover=”return hidestatus()”
onmouseout=”window.status=””>digit-8.com</a>
These are probably the most used methods to hide an affiliate ID link but there are many more ways you can hide a link.
Related posts:






