Merged in feat/sw-3415-set-up-cookiebot-in-partner-sas (pull request #2784)

feat(SW-3415): Add CookieBotConsent to partner-sas

* Add CookieBotConsent


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-09-11 12:29:52 +00:00
parent 4893eb8b25
commit c6aebbd0b2
3 changed files with 78 additions and 0 deletions

20
apps/partner-sas/types/window.d.ts vendored Normal file
View File

@@ -0,0 +1,20 @@
interface Window {
dataLayer: {
[key: string]: any
push: (...args: unknown) => void
}
adobeDataLayer: {
push: (...args: unknown) => void
}
_satellite: { cookie: { get: (s: string) => string } }
adobe: {
OptInCategories: { ANALYTICS: string }
optIn: {
approve: (s: string, b: boolean) => {}
deny: (s: string, b: boolean) => {}
complete: () => {}
}
}
Cookiebot: { changed: boolean; consented: boolean }
ApplePaySession: (() => void) | undefined
}