Support » Plugin: GDPR Cookie Compliance » 3rd party by default enabled

  • Resolved Sven74Muc


    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.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Sven74Muc


    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!!!

    Joe Hana


    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!!

    Plugin Author Gaspar Nemes


    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() {
        		if ( ! document.cookie.match(/^(.*;)?\s*moove_gdpr_popup\s*=\s*[^;]+(.*)?$/) ) {
    					thirdParty: true,
    					advanced: true,
    					scrollEnable: 200
        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.