|
How ClickTracks Uses Cookies
|
|
| 1. | When the visitor first comes to your website, a persistent cookie is set on the visitor's machine.
|
| 2. | This cookie need only be set once. As long as the cookie's expiry date is set to never expire, this cookie will stay with the visitor's machine forever. When a visitor returns to your site, your code should check the visitor's machine for the presence of your cookie and should not set another one if a cookie already exists. The cookie should never be set twice for any given visitor.
|
| 3. | You must make sure that this cookie is also getting logged in your web server logs. Please see the help documents in the ClickTracks application on how to configure your web server to log the proper logfile format.
|
| setcookie ("CLICKTRACKSID", "MYVALUE", time() + 86400000000);
|