Consent
FRVR.consentProvider bridges to a Consent Management Platform (CMP) so you don’t have to integrate one per channel. Analytics, ads, and features all check it before doing anything that needs consent.
Configuration
Section titled “Configuration”On web, pick a provider by name:
Native channels provide consent through their own host apps — you don’t need to configure anything.
React to consent changes
Section titled “React to consent changes”Call at any time to let the CMP re‑prompt:
Who uses it
Section titled “Who uses it”- Ads — each provider gets notified via
FRVR.ads.setUserConsent(bool)when consent changes. - Analytics — tracker queues events before consent is known (up to 100), then dispatches or drops based on the result.
- Features — feature flag fetches are consent‑aware.
If you opt not to configure a CMP, the SDK assumes no consent and refrains from sending sensitive events.
Consent: trigger the CMP
loading SDK…