Re: tracking visitors till registration?
| From: | Justin French | Date: | Tue, 20 Aug 2002 00:55:36 +0000 |
| Subject: | Re: tracking visitors till registration? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113278@lists.php.net to get a copy of this message | ||
on 20/08/02 7:01 AM, Andy (news.letters@gmx.de) wrote:
> Hi there,
>
> I am wondering if following scenario would be possible:
>
> - Create a unique referer id to make sure that the visitior has been refered
> by a particular person. (e.g. server.com?ref=20)
yes
> - The visitor enters the site and browses around, but the ref=20 should not
> be stored inside the url, but in a coockie
yes, or alternatively in a session
> - If the visitor signs up and there is a referer id assign the person who
> refered it some points.
yes
> The problem I see, is how to make sure that the refered id does not get lost
> and in case the person comes back another day still be able to asign the
> person who refered it the points.
>
> Has anybody a good suggestion on that?
make sure the cookie has a long expiry date... say a month, or whatever you
think is reasonable.
Justin