Hi, I have a site where I want to log the refer from visitors entering on any page. I will only be actually collecting this information when someone makes a purchase or sends an enquiry.
I presume I will log it by setting a cookie and then when they submit a sale/enquiry the existence of the cookie is checked and info passed on entered into the DB.
When a user has entered a page from an exernal site and then start browsing around, I obviously don't want my internal pages recorded as the referer so would I then use sessions to let other pages know that a referer has been logged?
I'm just a bit lost and and would like to see how anyone else has done it??
cheers, Will.