This guide outlines the steps required to support the US states regulations
message as part of the UMP SDK. Pair these instructions with
Set up UMP SDK, which details how to get your app running
with the UMP SDK and set up your message. The following guidance is specific to
the US states regulations message.
To indicate whether a user is under the age of consent, set
tagForUnderAgeOfConsent (TFUA). When you set TFUA to true, the UMP SDK
doesn't request consent from the user. If your app has a mixed audience, set
this parameter for child users to ensure consent is not requested.
It is your
responsibility for setting this parameter where necessary to comply with COPPA
and other relevant regulations.
The following example sets TFUA to true on a UMP consent request:
/** * Sets tag for under age of consent on consent request parameters. */exportfunctionrequestConsentWithTagForUnderAgeOfConsent(){requestConsentInfoUpdate({tagForUnderAgeOfConsent:true,},(error)=>{if(error){console.warn('Consent info update error:',error.message);}},);}
Test your US states regulations messaging
To test your US states regulations messaging, use the
DebugGeography.REGULATED_US_STATE value to force the UMP SDK to treat your
test device as if the device were located in a regulated US state. You can also
use the DebugGeography.OTHER value to suppress US states
regulations messages. For details on the debugGeography property, see
Force a geography.
[[["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 2026-11-13 UTC."],[],[]]