I have a formmail script that has been edited to send data to a csv file. I need it to include a field for tracking the Referrer (not just the site the form is located on - I do that now - but the referring site that sent the user to our site).
To elaborate - Our current form has a dropdown list of possible referrers and the user filling out the form chooses the referrer (for example, it says 'where did you hear about us?' - the user can choose things like Google or Word of mouth from the dropdown list. What we want to do is give a supplier some tracking code to put on their website so that if a user clicks through to our site, surfs through the site then fills out a form (formmail script), the referrer field is propagated with the tracking text which is to replace the user selection. So, we need the code, plus the formmail script edited (and any cookies etc) made by the developer,