Adds users to the Do Not Track list. This blocks any events from matching user IDs from being collected.
Read more about this feature in the Data & Security guide.
Auth scope: GDPR API Key
You can provide the
consent_scopes property to control fine grained consent settings. This enables you to provide detailed controls to how data is processed for each user. The supported consent scopes are:
processing- When set to
falseit indicates that the user has fully opted-out from data processing. This will prevent any events for this user from being tracked.
attribution- When set to
falseit indicates that the user has not provided consent for their data being used for attribution purposes. This will prevent their event data from being matched to any Touchpoints in the attribution process, but their event data will still be recorded. All goals this user triggers will show as "Unattributed" in reporting.
postbacks- When set to
falseit indicates that the user has not provided consent for their data to be posted back to your partner Ad Networks. This will prevent any postbacks from being sent for this user's events.
If you call the Do Not Track endpoint without the
consent_scopes key then the API treats this call as a full opt-out and will prevent any data processing for that user.