Without enabling Google Analytics by default I can forget about using Google Analytics this way and need to delet this plugin 🙁
Hope someone can help!!!
As far as I know its “opt-in” and not “opt-out”. So pre-checked (enabled) 3rd party cookies would not comply with the GDPR.
In case of Google Analytics you can go for an opt-out in direction of GDPR because of zhe legitimate interest and if you anonymize the IP.
However, if I use the 3rd party or the other cookie section doesn’t matter…. I need the option to have one of them on opt-out instead of opt-in.
Cant imagine that this should be a big issue to change in the source code (manually if someone needs it)
I’m not a programmer and reaching my limit here. Hope syou Joe or someone else can help!!
MA
(@gasparnemes)
Hello there,
Thanks for your comments. You can add the following code snippet to your functions.php and setup the values
function gdpr_js_extension() {
ob_start();
?>
<script>
jQuery(document).ready(function(){
if ( ! document.cookie.match(/^(.*;)?\s*moove_gdpr_popup\s*=\s*[^;]+(.*)?$/) ) {
jQuery(this).moove_gdpr_save_cookie({
thirdParty: true,
advanced: true,
scrollEnable: 200
});
}
});
</script>
<?php
echo ob_get_clean();
}
add_action( 'wp_footer', 'gdpr_js_extension', 1000 );
I hope it works.