Page 1 of 1

Referral link

Posted: Mon Dec 12, 2005 5:50 am
by kampuz
I would like to have in my site a simple system of referral links. I only want to be able to know who recommended a user to my site.
I made a search in the forum but I only found complex systems.

Can anyone tell me a easy way to make this?

Thanks

Posted: Mon Dec 12, 2005 6:56 am
by Jenk
an input box with a label "referrer - who referred you to this site?"

Posted: Mon Dec 12, 2005 8:17 am
by Chris Corbyn
If you're using this information to check which sites are "recommending" you then do as Jenk says.... it's foolproof (almost ;)).

If you simply want to know where people are coming from then either read your apache logs or check if $_SERVER['HTTP_REFERRER'] exists and store that info.

Posted: Wed Dec 14, 2005 5:35 am
by kampuz
Hi,

I want to be able to create referral links to pay comissions based on sales.
Example:
The client 1 gets a unique ref link
The client 2 hits the link from client1 and a cookie stores this information on his computer
When client 2 makes a spend, the info from the cookie is inserted on a special field.

Thanks