Automatically Increased Affiliate Revenue by 15%

Posted by Al on September 18th, 2007 .

afflinks.jpg
Last week I got round to one of those jobs that I’ve wanted to do for a while and that’s making my affiliate links a bit more visitor friendly and readable. I’ve mentioned before how I automatically convert links to sites that I have a relationship with to their corresponding affiliate links, I’ve now taken this a stage further and have created a Word Press plug-in to make it easy to add new affiliates as I find them.

The way the plug-in works is it searches for the domain of merchants that I have an affiliate program with adjusts it accordingly, for example http://www.thinkgeek.com/ would be converted on the fly to the equivalent affiliate link of :
http://www.anrdoezrs.net/se121lnwtnvACIJCEHEACBEGHEDF?url=http%3A%2F%2Fwww.thinkgeek.com%2Fgeektoys%2Fgames%2F7eaa%2F&sid=cg-http%3A%2F%2Fwww.thinkgeek.com%2Fgeektoys%2Fgames%2F7eaa%2F/geektoys/games/7eaa/

As you can see the affiliate link is pretty darn ugly and to the (slighty) trained eye it is obviously an affiliate link which does put some people (especially tech savvy webmasters) off clicking it.

My previous solution was to use a bit of Javascript to disguise the fact it was an affiliate link, like this:

<a href=”http:\\bloodylongafflink” onmouseover=”window.status=’http://www.ThinkGeekcom’;return true;” onmouseout=”window.status=’ ‘;return true;”>My Affiliate Link<a>

Which would then display like: My Affiliate Link, normally when you hover over a link the URL appears in the status bar at the bottom of the browser by using the onmouseover and onmouseout you can control what is displayed in the status, so instead of displaying a long affiliate code you simply show the original URL. Unfortunately this only works in IE, in FireFox nothing is displayed which will also put some people off from clicking (the example link will not demonstrate what I am explaining as Word Press strips the code).

The solution that I implemented last week was to convert all relevant outgoing links to an internal link that will automatically forward to the affiliate offer. So instead of having a mega long affiliate link that I can only hide from some browsers I now have what I think is a much more friendly status bar link so clicking here will take the visitor to my og.php (outgoing) page which then forwards them to the appropriate offer.

The next part of the project was to code the forwarding page, which forwards the regular URL to the affiliate page. I won’t go into how this works as it’s just a simple coding exercise that is out of the remit of this article.

I have however created a quick and dirty plug-in (I think all my plug-ins are quick and dirty) that you are free to use on your own WordPress blogs. To use simple download st_auto_affiliate_links.zip, unzip and upload the files to your plugin directory. Once the plug-in is activated you will have an options page where you can enter before and after URLs.

In the “URLs that start with” edit box add the URLs to the sites that you would like to be converted. On the corresponding line of the “Replace with” edit box enter the affiliate link that you would like your visitors to be forwarded to. There are a couple of paramters that you can use:

  • %TARGET% - This is the original URL (useful for deeplinking)
  • %ENCODED_TARGET% - This is the target encoded into a HTML string which some affiliate URLs need

I’ve created a few default affiliate converters, which you can change to suit.

If you need any help or have questions or suggestions please leave a comment,

I’ve only been running this script for about a week but so far commission have increased around 15% which is always nice to see :)

This entry was posted on Tuesday, September 18th, 2007 and is filed under Blogging, Money Making Tips . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

RSS feed | Trackback URI

20 Comments »

Comment by Joey from RPM Subscribed to comments via email
2007-09-18 20:45:34

This seems much easier than having to code my own so I think I will try it out. Thanks for the plug in.

 
Comment by GetUSBinfo
2007-09-18 21:32:44

Excellent for sharing. I’ve just downloaded and uploaded - running live now. How did you configure the ThinkGeek code for your affiliate number - I’m searching in CJ but not getting it.

BTW - signed up for BlogRush via your affiliate :-)

Comment by Al from SMM Subscribed to comments via email
2007-09-18 22:41:28

The way I did it was to create the link in the CJ control panel and then dissect it to see which bit did what, if that doesn’t help post again and I’ll see if I can explain it further.

I thought I’d follow the hype and use BlogRush as one of the samples, so cheers for signing up :)

 
 
Comment by Andreas from Andelsbolig til salg Subscribed to comments via email
2007-09-19 02:19:20

In the past I’ve had problems with TradeDoubler not tracking the header("location: $lNewURL"); URLs correctly. If you use TD, I recommend you see if the header() function has any negative impact on your earnings.

On a side note, the title “Automatically Increased Affiliate Revenue by 15%” is not explained further in your copy (although I think that the new URLs will improve earnings by 15%). I would prefer a title like “Disguise your afilliate links in both Firefox and IE”.

Comment by Al from SMM Subscribed to comments via email
2007-09-19 14:20:16

Your right Andreas that would of been a better title, I think when I wrote this post I had my coding head on so didn’t really go into the stats. The 15% was a bit of a gestimate, I have seen increases but I can’t guarantee all were down to the new links, seems to be worth doing though and it also makes it really easy to add new ones in the future.

 
 
Comment by Tomaz Mencinger from Financial Freedom Ideas Subscribed to comments via email
2007-09-19 02:33:13

It’s interesting that there is almost always this “jealousy” thing.

You do your research, spend time and money to find something useful and people don’t want to click on the link since they know you’ll make some money.

So sad.

And once you hide this (as you did) visitors are more inclined to click through and make a sale for you.

 
Comment by Ash from Quick Whois Subscribed to comments via email
2007-09-19 08:39:17

Thanks Al. I’ve been looking for something like this for awhile now.

 
Comment by Carl from Dension Ice Subscribed to comments via email
2007-09-19 09:04:46

This is very similar to what I do, except all my links get added to a database and then the user would see my affiliate links as:

http :// http://www.mysite.co.uk/Go.aspx?Id=10 (spaces included as not sure how this will get formatted)

Comment by Al from SMM Subscribed to comments via email
2007-09-19 14:17:59

That’s a good solution Carl, I did consider doing something like that but laziness took over :)

 
 
Comment by Neale from Free General Directory Subscribed to comments via email
2007-09-19 12:05:37

I’ts nice to see you doing these things to gain a couple of points on conversion. After a very long time of rebuilding our online businesses data/base where I work I’m now getting to spend most of my day looking at things like this now.

For those of us who can’t just go write the code or have very simple sites, I do similar to the coded version directly linking to a page in my site yourdomain.com/cat-treats.php
which then redirects straight to the affiliate page.

 
Comment by James from geniosity
2007-09-19 12:15:46

I use the Redirection plugin for this.

Makes life SO much easier. There’s a proper admin page, with logging to see how many times a link was clicked, and what the referring page was, etc.

Very helpful for masking affiliate links as well as finding incoming links that are incorrect via the 404 log and setting up redirections to fix them.

 
Comment by Abdul from The Webmasters Tool Subscribed to comments via email
2007-09-19 14:01:13

nice one

thanks Al

I’ll definatly use this plug in from now for any aff links I have on my blog.

Thanks again

 
Comment by Al from SMM Subscribed to comments via email
2007-09-19 14:16:42

It’s under 24 hours old and there’s already a new version. The previous one didn’t cope with paramters the new one does so just upload again.

 
Comment by tom
2007-09-25 19:41:52

I am a tiny bit confused about what I need to do to get this to work.. for the following affiliate url:
http://www.adwingate.com/77/www/delivery/ck.php?maxparams=2__bannerid=242__zoneid=272__cb=980ed27a11__maxdest=http://www.gftuk.com/land/french/?aid=2052

I put that in the ‘replace with’ box and then place http://www.gftforex.com into the ‘urls that start with’ box..

and thats all I have to do ? I dont understand what I need to do with %target% and %encoded_target% (they are optional?)

can you explain this to me in a way a baby can understand :)

also, what about amazon.com affiliate links… lets say I have one blog post where I want an amazon affiliate link to point to the dell 24 inch lcd product page and then in another blog post I write I want the affiliate url to point to a harry potter book.. I dont quite understand how I can make that work if all http://www.amazon.com urls are encoded to be replaced with just one amazon affiliate url..(in the ‘replace with’ box)

Thanks in advance for any tips to ease my brain damage!

Comment by Al from SMM Subscribed to comments via email
2007-09-26 12:59:58

Hi Tom,

If you want to convert URL xxxxx into URL yyyyy you are right that you do not need to use the %target% or %encoded_target% param. You only need to use this if the source URL is contained in the target URL.

With Amazon you will need to use the %encoded_target%, so in the start with box have:
http://www.amazon.com/
Replace with:
http://www.amazon.com/gp/redirect.html?ie=UTF8&location=%encoded_target%&tag=coolegadge-20&linkCode=ur2&camp=1789&creative=9325
Where the tag is your affiliate ID.

 
 
2008-01-03 12:19:36

[...] crazily getting a fair amount of traffic for the daft tattoo sleeves, so I joined the program and automatically convert their links to affiliate ones which for the sake of 10 minutes work was certainly worth [...]

 
Pingback by links for 2008-01-16
2008-01-16 01:29:40

[...] Self Made Minds » Blog Archive » Automatically Increased Affiliate Revenue by 15% ’ve now taken this a stage further and have created a Word Press plug-in to make it easy to add new affiliates as I find them. The plug-in searches for the domain of merchants that I have an affiliate program with adjusts it accordingly. (tags: web shopping affiliate adverts amazon) [...]

 
Comment by Heather from Plugin is not working for me Subscribed to comments via email
2008-04-10 16:19:54

I tried installing and setting up the plugin at http://www.finsandgills.com

I was unable to get the affiliate links to cloak.

This site is using a database fed dynamic php script.

The product url’s go to http://www.aquariumsdirect.com/…..(long line of product id info and affiliate id).

Can you please help me with this. Just let me know what info you need to explain the problem or what is keeping it from working.

Thanks very much.

 
Comment by Vin Andella
2008-06-30 01:36:51

This is a great time saver and I love the cloaking frature.

 
Comment by Matt Subscribed to comments via email
2008-07-06 11:27:28

This is a simple but excellent plugin that will save me so much time. I have set up many of the regular commercial sites that I blog about but struggled with deep links on one site that are in the following format :

http://www.prezzybox.com/products/index.aspx?pid=4559

I assumed I would be able to set this up as an encoded target like below :

http://www.awin1.com/cread.php?awinmid=164&awinaffid=1234&p=%ENCODED_TARGET%

This does not work however. How do I handle deeplinks with url parameters ?

Cheers

Matt’s last blog post..White Superga Wedding Trainers

 
Name (required)
E-mail (required - never shown publicly)
URI
Title (will be used as link text for top commentators)
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> in your comment.