Forum Moderators: phranque
We have been approached by a publication that wishes to advertise our site in return for sales commision.
we have an affiliate programme that is well established but so far has only been used online.
they plan to place an ad in their many newspapers.
So we can track taffic and pay the apropriate commision can someone help with the best way to redirect the traffic so that it is logged?
My plan is to...
- provide the publication with a specific url, e.g. www.widgets.co.uk/promotion
- this then takes the user to a page that redirects them to the affiliate url
- the affiliate url then redircts them to our hom page
- the user is logged
would this be the best way to do it?
also, i plan to add the new referal directory to our robots.txt so that search engines cant read it.
your thoughts are very much appreciated
Otherwise you'd write a small perl, PHP, or asp script that does this for you. The program logic is something like
- receive request at /promotion/index.cgi (or .php, etc.)
- log the data from the request (ip, time, user agent, referrer if any, etc.)
- print "location:destination.html" (or header("destination.html"); )
Given choices, I'd just drop some Analytics code on the page, done. :-)