Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
I need to be able to store the query string of group=trade in a cookie so it can be appended to a URL when the cookie has been found.
I don't have much experience with JS Cookies. I need the cookie to be placed on the users computer when they view our website. Then when they next visit the website the cookie is found and the query string is appended to the URL.
This is all for an affiliate scheme. The appended URL changes a small feature of the website.
Any help with this would be greatly appreciated.
Basically, it's just a matter of setting document.cookie:
document.cookie = "name=value; expires=date; path=path; domain=domain; secure";
Let us know if you run into any trouble and we'll be happy to help. :)