Stay organized with collections
Save and categorize content based on your preferences.
ConsentSettings
classpublic
Various settings to the PAL SDK related to privacy and regulations. The
settings can help make decisions about the choice regarding the identifiers
used while generating nonce signals.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-29 UTC."],[[["The `ConsentSettings` class manages privacy and regulation settings within the PAL SDK, influencing how identifiers are used."],["`allowStorage`, determined by a Consent Management Provider (CMP), dictates whether PAL has consent to utilize identifiers and storage, defaulting to false for privacy."],["When `allowStorage` is true, indicating user consent in line with IAB TCFv2, PAL can use cookies, device IDs, and advertising IDs."]]],["The `ConsentSettings` class in the PAL SDK manages privacy and regulation settings, particularly regarding identifier usage for nonce signal generation. It includes a `allowStorage` property, a boolean that defaults to `false`. Setting `allowStorage` to `true` indicates user consent for PAL to utilize identifiers like cookies, device IDs, and advertising IDs, and is required for IAB TCFv2 compliance. This consent should be determined via integration with a Consent Management Provider (CMP).\n"]]