Merged in feat/sentry-errors-fixes (pull request #1216)
Removed VWO and cookie-bot * Removed VWO and cookie-bot * Merged master into feat/sentry-errors-fixes Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -9,9 +9,8 @@ export default function CookieBotConsent() {
|
||||
const pathName = usePathname()
|
||||
const isWebview = webviews.includes(pathName)
|
||||
const CookiebotCallbackOnAccept = useCallback(() => {
|
||||
const cookie = window._satellite.cookie.get("CookieConsent")
|
||||
|
||||
if (window.Cookiebot?.changed && window.adobe) {
|
||||
const cookie = window._satellite?.cookie?.get("CookieConsent")
|
||||
// For webviews we always set the consent to true since we don't have cookiebot.
|
||||
if (isWebview) {
|
||||
window.adobe.optIn.approve(window.adobe.OptInCategories.ANALYTICS, true)
|
||||
|
||||
Reference in New Issue
Block a user