Enable or disable web tracking based on visitor consent
Current version: 10.2
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:
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.