Get Consent
Parameters
Name
Type
Required
Description
Options
Examples
edgetag('getConsent', (consent, error, consentCategories) => {
console.log(consent) // { all: false, facebook: { facebook1: true, facebook2: false }}
console.log(error) // undefined
console.log(consentCategories) // { all: false, marketing: true}
})edgetag('getConsent', (consent, error, consentCategories) => {
console.log(consent) // null
console.log(error) // "Error: Consent Not Found for current user"
console.log(consentCategories) // null
})Last updated
Was this helpful?

