Enable or disable web tracking based on visitor consent
Version:
In Sitecore 10.0 and later, you can enable or disable tracking based on a contact's consent choice. To use this functionality you must:
- Configure a website to require explicit consent
- Use the consent manager API to capture and manage consent choices
Note
Sitecore does not provide a default rendering or user interface for managing consent choices for tracking.
The ConsentInformation facet is used to store tracking consent information, as well as other consent information for a contact. To manage consent choices outside the context of the tracker, use the xConnect Client API to update the ConsentInformation facet.
If you have suggestions for improving this article, let us know!