diff --git a/packages/cookie-manager/src/utils/applyGpcToAdPref.ts b/packages/cookie-manager/src/utils/applyGpcToAdPref.ts index 0da5b1f..fd07934 100644 --- a/packages/cookie-manager/src/utils/applyGpcToAdPref.ts +++ b/packages/cookie-manager/src/utils/applyGpcToAdPref.ts @@ -14,7 +14,7 @@ const applyGpcToAdPref = ( } // If we lack GPC or it's set ot false we are done - if (!(navigator as any).globalPrivacyControl) { + if (!(window.navigator as any).globalPrivacyControl) { return preference; }