Hey guys, need a little help here. I'm trying to track what ad campaigns people came from by setting cookies when they arrive on my site. I want to capture this information with each order so I can see which campaigns are converting. Setting the cookies are no problem, but I need to know how to retrieve them with FoxyCart and store them. I'm assuming the best way to do this is with a custom field that gest populated from the cookie using PHP.
My site is at http://kpelements.com/buy
- what's the best way to do this? I could use a hidden custom form field on that page that gets passed into the checkout (checkout=true), or is there a way to read the cookie during the checkout process and stick it into a hidden field that will end up in my XML?
Thanks for the advice,