I have never coded cookies, so please bare with me.
What I need, is to create a cookie that will store the referring URL, and date, for visitors.
Open to suggestions, but think I only need to store the following:
- Refferring URL
- Date of first visit
- Cookie expiry date
Purpose:
Need to track each form submission, with info regarding which site and/or banner referred these leads.
hence, I would then like to use the cookie information within the various forms on my site as a hidden field value. The forms use PHP/MySQL to both send an email with results and store into databse.
Would appreciate any help.
Many thanks,
- Vince





