Welcome to WebmasterWorld Guest from 23.20.112.112

Forum Moderators: phranque

Message Too Old, No Replies

Implementing a redirect

     
11:03 am on May 22, 2009 (gmt 0)

10+ Year Member



Good afternoon all.

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

3:12 pm on May 22, 2009 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member



IMO the best way to do this is avoid redirecting at all. Can you just put Google Analytics on this landing page?

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. :-)

4:30 pm on May 22, 2009 (gmt 0)

10+ Year Member



logging the custome from this page is fine, but we need to place the affiliate cookie on the customers session so that any sales are logged so we can pay commission.
7:30 pm on May 22, 2009 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Make sure that such a landing page cannot be indexed in the SERPs (use meta robots noindex tag) otherwise you'll be paying commission to the other site for visitors arriving from Google and elsewhere.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month