feat(BOOK-436): Added manage cookie bot dynamic content to content pages

Approved-by: Linus Flood
This commit is contained in:
Erik Tiekstra
2025-10-09 12:46:17 +00:00
parent 77ee88c6ea
commit d298d5c2ff
7 changed files with 82 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
interface Window {
dataLayer: {
[key: string]: any
[key: string]: unknown
push: (...args: unknown) => void
}
adobeDataLayer: {
@@ -10,12 +10,12 @@ interface Window {
adobe: {
OptInCategories: { ANALYTICS: string }
optIn: {
approve: (s: string, b: boolean) => {}
deny: (s: string, b: boolean) => {}
complete: () => {}
approve: (s: string, b: boolean) => void
deny: (s: string, b: boolean) => void
complete: () => void
}
}
Cookiebot: { changed: boolean; consented: boolean }
Cookiebot: { changed: boolean; consented: boolean; show: () => void }
ApplePaySession: (() => void) | undefined
kindlyChat: {
showBubble: () => void