Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 800 Bytes

File metadata and controls

26 lines (15 loc) · 800 Bytes

Home > @snowplow/node-tracker > buildConsentWithdrawn

buildConsentWithdrawn() function

Build a Consent Withdrawn Event Used for tracking when a user withdraws their consent

Signature:

declare function buildConsentWithdrawn(event: ConsentWithdrawnEvent): EventPayloadAndContext;

Parameters

Parameter Type Description
event ConsentWithdrawnEvent Contains the properties for the Consent Withdrawn event

Returns:

EventPayloadAndContext

An object containing the PayloadBuilder to be sent to and a 'consent_document' context