fix: add checks to tracking consent
This commit is contained in:
10
types/window.d.ts
vendored
10
types/window.d.ts
vendored
@@ -1,3 +1,13 @@
|
||||
interface Window {
|
||||
datalayer: { [key: string]: any }
|
||||
_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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user