• Resolved hatschiii

    (@hatschiii)


    I use the 3rd party section for Google Analytics. Is it possible to set this by default on enabled insteadd of disabled?

    I do not need a frontend solution if you can point me what I have to change in the code would also enough.

    Thanks
    Sven

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter hatschiii

    (@hatschiii)

    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.

    Thread Starter hatschiii

    (@hatschiii)

    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.

    Thread Starter hatschiii

    (@hatschiii)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘3rd party by default enabled’ is closed to new replies.