It's possible to set consent independently for three categories:
- essential cookie consent
- tracking cookie consent
- tracking consent
Essential cookie consent
Cookies that are considered essential:
xcConsentholds information about consent levels:
essentialCookieConsent=truesaves essential cookie consent (will never be false, because in that case it wouldn't be allowed to be set)
trackingConsent=true|falsesaves tracking consent
trackingCookieConsent=true|falsesaves tracking cookie consent
xcSessId=node...holds the current session ID
Tracking cookie consent
Saves tracking cookies if enabled. Tracks without cookies when disabled and when selected tracking implementation(s) support tracking without cookies.
xcVisitorIdfor recognizing a user across sessions, advisors or pages (also used for commerce
_xcpk_ses.33.1fff: matomo session data
_xcpk_id.33.1fff: matomo visitor data
Tracks the user with the configured tracking implementation(s). If tracking cookie consent is disabled and a tracking implementation doesn't support tracking without cookies, it does not track.
If no consent is configured explicitly, everything defaults to true. If another default behavior is required, please ask excentos to configure it to your needs.
Consent may be set initially via the following integration url parameters
xcEssentialCookieConsent=true|falsefor setting essential cookie consent
xcTrackingConsent=true|falsefor setting tracking consent
xcTrackingCookieConsent=true|falsefor setting tracking cookie consent
Everything defaults to true if not set or to the conf key values if they exist.
Global function (advanced)
Once the advisor has been initialised, there is a global function available for changing consent. This may be used to pass consent changes to the advisor:
Not all options have to be set. anything that's not passed will stay on the previous setting.
Enable essential cookies and tracking, disable tracking cookies:
Disable tracking, keep all other settings:
Custom implementation by excentos to connect an existing tracking tool via available interfaces to our consent management