Foliovision Logo

Keeping destination addresses to yourself

April 13th, 2007

I've finally found some simple javascript for affiliate or other links you want to partially cloak. It works well in IE 6 and hides the destination altogether in Firefox. It does not work in Safari. I'd like to know if it would work in IE 7 but as 60% of all visitors to my client websites are still running IE 6, that's already a good start.

Why would you want something like this on your website?

  1. If you are selling anything via an affiliate link people don't like the strange syntax and will often avoid clicking on the link, even though clicking on your affiliate link does them absolutely no harm. In general, having control over one's display URL. It will also help you with the search engines. They judge a website by the content of its outbound links.
  2. So this way you can link to the top level address of any given domain, rather than to a convuluted affiliate link, making Google happy.

I'd like to show you the code but alas Xstandard is acting up again and won't seem to respect the code tag.

Without Xstandard, I'm back with the basic example:

<a href="http://www.affiliate-link.com/" target="_top" onmouseover="window.status='http://www.company-name.com';return true;" onmouseout="window.status=' ';return true;">Shop at Company Name!</a>


Tags: none

Internet Marketing, SEO | Comments | Trackback

del.icio.us Digg Ma.gnolia StumbleUpon Technorati Jump to the top of this page

 

Leave a Reply

  •  
  •  
  •  

You can keep track of new comments to this post with the comments feed.

October 7th, 2008

Tags: none

Uncategorized | Comments

del.icio.us Digg Ma.gnolia StumbleUpon Technorati Jump to the top of this page

 

Recent Posts

Recent Comments: