JSFiddle - React, Tailwind, and code Playground
by madamek
HTML
// =========== MODULE CONSENT MANAGEMENT GDPR and US =========== //
consentManagement: {
gdpr: {
cmpApi: "iab",
timeout: 5000,
allowAuctionWithoutConsent: true
/* consentData: {getConsentData: {'gdprApplies': true,
'consentString': "BOJ/P2HOJ/P2HABABMAAAAAZ+A==",
'vendorData': {...},'}} only used for cmpApi: 'static',
GDPR consent data being passed directly */
},
usp: {
timeout: 100 //US Privacy timeout 100ms
//In case of static CMP using custom data:
/* cmpApi: 'static',
consentData: {
getUSPData: {
uspString: '1YYY'
}
} */
}
},
// =========== END OF CONSENT MANAGEMENT MODULE=========== //