Hi.
I need a cookie script to set a cookie of a referring site.
People visit our site and click on a link that takes them to our shopping cart hosted on another site. I am running a script for that link on our site that adds a query string to the URL so when it lands on that first shopping cart page, the URL showing in the address bar is something like ourshoppingcartpage.com/?q=xxxxx. This tells me where the visitor originated from. I want to put the value of this url in a cookie. Then when people register, that same cookie value will be part of the form results.
I can’t use php because I don’t have access to the shopping cart code but I can use Javascript. The problem is I don’t know much about Javascript.
Please help. Thanks