Class: ConsentSettings

  • ConsentSettings manages privacy and regulation options within the PAL SDK, influencing identifier choices for nonce signals.

  • The allowStorage property, defaulting to false, dictates whether PAL has user consent (requiring CMP integration and IAB TCFv2 compliance) to utilize identifiers like cookies and device/advertising IDs for data storage.

Constructor

ConsentSettings

new ConsentSettings()

Property

allowStorage

boolean

Whether PAL has purpose 1 consent to use identifiers and storage. The value needs to be determined by integrating with CMP (Consent Management Provider). This is set to false by default. If specified as true, PAL has consent from the user to use information like cookies, device IDs and advertising IDs. This value needs to be set to be IAB TCFv2 (Transparency and Consent Framework) compliant.