To store user information, preferences, and data, the Web Tracking add-on uses cookies.
The cookies used are exclusively first-party (sent to the browser directly from the site where the script is active).
Four different cookies will be stored, each named after the account ID plus a suffix identifying the type of cookie created:
- <id account> + uid (User ID, tracks the contact ID)
- <id account> + sid (Session ID, assign and track a session ID for each contact)
- <id account> + ref (Reference, trace the origin of contact)
- <id account> + sst (Session start time, track the time where a session is started)
The id account is indicated in base 16 in the cookie names.
This table contains a detailed description of the cookies mentioned.
| Cookie Name | Cookie Description Name |
|---|---|
| uid | User ID - This visitor cookie contains a structured data item that records two pieces of information. The first piece of information is the contact ID. It is only filled in if the contact is recognized (registered in a database on the platform). If this part is not filled in, the visitor will be considered anonymous. The second piece of information is an ID assigned to the visitor's browser to recognize them on future visits to the site. |
| sid | Session ID - This session cookie contains a string that stores the contact session ID. |
| ref | Reference - This session cookie tracks the contact's origin (the entity from which the visit originated, e.g., a Communication, a Transactional Message, etc.). It is a string value containing the ID of the entity from which the contact originated. This ID can therefore only be interpreted by the platform. It is used for statistical purposes. |
| sst | Session start time - This session cookie stores a structured value containing two pieces of information: the first relates to the time the session begins, the second part containing the number of pages visited during the session. |
Cookie duration:
- Visitor cookies (uid) have a default duration of 525,600 minutes (1 year). This duration can be changed by changing the script configuration and changing the value of the Visitor cookie timeout (userIdentityTimeout:value).
- Session cookies (sid, sst, and ref) have a default duration of 1,440 minutes (24 hours). This duration can be changed by changing the script configuration, changing the value of the Session cookie timeout (sessionTimeout:value).
Note:
The cookie expiration time is calculated based on the last recorded event. In fact, cookies are updated with each visitor's activity on the site on the pages where the script is present.
The cookie expiration time is calculated based on the last recorded event. In fact, cookies are updated with each visitor's activity on the site on the pages where the script is present.