Browser events
Initialization
{
destination: string,
userId: string,
isNewUser: boolean | undefined,
consent: Record<string, boolean | Record<string | boolean>> | null,
consentCategories: Record<string, boolean>,
consentSetting: Record<string, string[]>
}window.addEventListener('edgetag-initialized', ({ detail }) => {
console.log({
userId: detail.userId,
isNewUser: detail.isNewUser,
consent: detail.consent
consentSetting: detail.consentSetting
})
})Consent
Last updated
Was this helpful?

