Optanon Integration
Reevoo’s JavaScript library supports Optanon cookie integration which enables you or users to control which cookie is dropped in the browser.
List of used Optanon cookie groups and its explanation
ID | Name | Description |
---|---|---|
2 | Performance Cookies | Measure which pages are visited by the consumers. E.g. Google Analytics |
3 | Functional Cookies | Enable the site to provide enhanced functionality and personalization. E.g. Sitecore Personilisation |
List of cookies and its functionality
Name | Expiration | Usage | Optanon Group ID |
---|---|---|---|
reevoo_stored_votes | 1 hour | Enable review helpfulness voting | 3 |
reevoo_sp_id | 2 years | Tracking cookie which persists information about a user’s activity on the domain between sessions. It contains the following information: • An ID for the user based on a hash of various browser attributes • How many times the user has visited the domain • The timestamp of the user’s first visit • The timestamp of the current visit • The timestamp of the last visit • The ID of the current session | 2 |
reevoo_sp_ses | 30 min | Tracking cookie. Its only purpose is to differentiate between different visits. | 2 |
How to enable/disable cookie with Optanon cookie
As mentioned above, Reevoo’s JavaScript library supports Optanon cookie integration. The logic behind this is quite simple. When the JavaScript library loads, it checks if OptanonConsent
cookie is present. If so, it reads its configuration for enabled and disabled groups and changes the initialization strategy regarding to it.
Note
Disabling tracking cookie does not stop user to be tracked! Tracking functionality just anonymises the user and every page load is treated as a visit of a new person.
Examples of OptanonConsent cookie setting.
document.cookie = "OptanonConsent=groups=3:0"
document.cookie = "OptanonConsent=groups=2:0"
document.cookie = "OptanonConsent=groups=3:0,2:0"
document.cookie = "OptanonConsent=groups=3:1,2:1"
Updated over 4 years ago