Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: cookies n variables

by cecil36 (Pilgrim)
on Nov 15, 2002 at 20:58 UTC ( [id://213275]=note: print w/replies, xml ) Need Help??


in reply to cookies n variables

My boss and I were discussing how we could track outside referrals to our website. What we need to do is have a way to keep a referral ID with the user as they navagate our site from when they first enter all the way up to when they purchase a product or service. My temptation is to use a cookie and set it when the person enters. My boss is saying that people may have cookies disabled, and we need a way to track them as well. I said in response that in that case, we need to figure out what percentage of people who visit our site have cookies disabled and decide if it's going to be worth forgetting about those people. Is there a solution where we can track all the visitors to our site back to wherever they were referred from, regardless of whether or not they're accepting cookies?

Replies are listed 'Best First'.
Re: Re: cookies n variables
by jerrygarciuh (Curate) on Nov 15, 2002 at 22:39 UTC
    There are any number of ways to store this information and cookies would not have come to my mind as a solution to your problem. You need a record of $ENV{HTTP_REFERER} for each visitor so write it to a flat file on the server or store it in a database table if you have db access.
    HTH,
    jg
    _____________________________________________________
    "The man who grasps principles can successfully select his own methods.
    The man who tries methods, ignoring principles, is sure to have trouble.
    ~ Ralph Waldo Emerson
      Except I have found that many times that $ENV{HTTP_REFERER} has been blocked by a filtering proxy more frequently than cookies have been disabled.

      -Waswas

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://213275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-23 11:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found