5ubliminal@twitter

Lead Your Visitors | Limit Departure Options : 5ubliminal's TellinYa

<a href="http://www.tellinya.com/art2/308/">Lead Your Visitors | Limit Departure Options : 5ubliminal's TellinYa</a>
5ubliminal's YAMS
Outbound links are very important but …

… I'm not goind to talk about them too much in this one. I have another post almost done about this. Meanwhile I just want to show you a little trick that has to do with outbound links.

We all know the people usually follow links they find on pages. Especially the 'customers' - type (non web skilled). So having outbound links on your site will loose you visitors. On the other hand search engines like (non no-followed) outbound links. So … you're pretty much forced to choose!

Pleasure search engines or loose visitors?
What if you had links but they could not be followed by humans?

This can be easily done with server-side cloaking but that's easy to detect by search engines. I'll go in depth on cloaking soon and explain you how, no matter what you try, you end up road-kill for the search engines. But what about client-side cloaking?

There are many methods of making sure people either leave by using ads or by using the back button but not by using outbound links. CSS hiding, blending in content and others but one method is actually fun to do. And this is how you do it!

  • Place appealing link near affiliate ad. ;)
  • Make sure the user sees the link (bells'n'whistles).
  • The user goes to click the link.
  • The link won't work!
  • Frustrated, visitor leaves by affiliate ad, pushes the back button or … keeps browsing.

It is a fact that, by giving too many choices to people, they will make the wrong ones. So, by using this method, you lead their way the right wayyour way!

The JavaScript that does the Magic!

I suggest you use an external file to lock robots from accessing the javascript file and disable the links on load like the code below:

<script language="javascript">
<?
function hyperUnlinks(){
    var els=document.getElementsByTagName('a');
    if(!els.length) return;
    for (i = 0; i < els.length; i++){
        var el = els[i];
        //-- We get link URL
        var href = el.getAttribute("href");
        //-- Defend your own server if you use http:// absolute links!
        if((href.indexOf(".yourdomain.tld/")>-1) || (href.indexOf("://")==-1)) continue;
        //-- Optional title on link. Comment if you want it out!
        el.setAttribute("title","Locked external link to: "+href);
        el.onclick = function(){
            //-- Event killed with return false!
            return false;
        }
    }
}
window.onload = function(){
    //-- We get rid of links' clickability!
    hyperUnlinks();
    //-- Other stuff can be done here! ;)
}
?>
</script>

This method is somehow safer then cloaking or visually hiding links. Hidden links are not good but unfollowable links :) are cool! Code is tested and works on IE, FireFox and Opera - latest! The el variable is the DOMElement of the link. You can do anything there. I just locked its clicks. You could actually hijack its destination. It's your show. The link can still be followed with Shit+Clicks-(new window) but those we aim for don't know that.

Caution: I'm not sure how this would look regarding search engines guidelines ;) It's right on the edge … leaning to the dark side! … that's why the locked link is nofollowed too !;) Use at your own risk … blah blah blah!

2 Comments Posted By Readers :

Add your comment
#1 Dan from United States
Posted on Monday, 04 February, 2008
Yeah, just hijacking the link is a pretty easy way to direct users but it's a little sketchy. I think avoiding pissing off users is more the way to go.

Speaking of call to actions, we all know that "Click Here" converts really well. I had a client recently that had 16 instances of "Click Here" on a landing page all of which went to different pages. It was like user assassination because users have no idea where to click - there are just too many options.
#2 5ubliminal web
Posted on Monday, 04 February, 2008
Avoiding pissing off users IS the way to go but it all depends on how skilled they are.
If you keep losing them this would be an extreme measure. Stay friendly with search engines but make them leave … by using the links you want (if possible).

Some smart people say: I make my site as ugly as possible to "force" the visitors to leave :)
And they do really well.

Click Here works but too many choices drive most people away. Why? Most are choice-challenged. Like women in a store. If they find too many cool things they buy nothing 'cause they can't make up their mind and fear later regrets (luckily I go for the bullz-eye in shopping).

PS: Sketchy … is what I do :)
5ubliminal's TellinYa.com SEM & SEO Blog © 2007 - All rights reserved unless mentioned otherwise .
Rendered On : [Thursday, 11 March, 2010 - 17:07:40 GMT]   No Ajax / Flash Used Here
" Lead Your Visitors | Limit Departure Options : 5ubliminal's TellinYa "
Close
Tellinya.com is relocating to blog.5ubliminal.com. This blog is no longer maintained and comments are no longer accepted / answered.