Files
ipal-kit/dist/modules/consent/categories.js
T

26 lines
606 B
JavaScript

/**
* Cookie consent categories (GDPR). 'necessary' is always granted and cannot be
* disabled. The rest default to false until the user opts in.
*/ export const CONSENT_CATEGORIES = [
'necessary',
'functional',
'analytics',
'marketing'
];
export const DEFAULT_CONSENT = {
necessary: true,
functional: false,
analytics: false,
marketing: false
};
export const ACCEPT_ALL_CONSENT = {
necessary: true,
functional: true,
analytics: true,
marketing: true
};
export const REJECT_ALL_CONSENT = {
...DEFAULT_CONSENT
};
//# sourceMappingURL=categories.js.map