tch(/aviaCookieConsent/) || html.className.indexOf('av-cookies-session-refused') >= 0 ) { allow_continue = false; } else { if( ! document.cookie.match(/aviaPrivacyRefuseCookiesHideBar/) ) { allow_continue = false; } else if( ! document.cookie.match(/aviaPrivacyEssentialCookiesEnabled/) ) { allow_continue = false; } else if( document.cookie.match(/aviaPrivacyGoogleTrackingDisabled/) ) { allow_continue = false; } } } // allow 3-rd party plugins to hook (see enfold\config-cookiebot\cookiebot.js) if( window['wp'] && wp.hooks ) { allow_continue = wp.hooks.applyFilters( 'aviaCookieConsent_allow_continue', allow_continue ); } if( ! allow_continue ) { // window['ga-disable-UA-177175609-1'] = true; if( script_loaded.length > 0 ) { script_loaded.remove(); } } else { if( script_loaded.length == 0 ) { $('head').append( analytics_code ); } } }); $('html').trigger( 'avia-cookie-settings-changed' ); })( jQuery );