Title: 3rd party by default enabled
Last modified: May 24, 2018

---

# 3rd party by default enabled

 *  Resolved [hatschiii](https://wordpress.org/support/users/hatschiii/)
 * (@hatschiii)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/3rd-party-by-default-enabled/)
 * 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](https://wordpress.org/support/users/hatschiii/)
 * (@hatschiii)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/3rd-party-by-default-enabled/#post-10320095)
 * 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](https://wordpress.org/support/users/joehana/)
 * (@joehana)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/3rd-party-by-default-enabled/#post-10320971)
 * 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](https://wordpress.org/support/users/hatschiii/)
 * (@hatschiii)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/3rd-party-by-default-enabled/#post-10321559)
 * 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](https://wordpress.org/support/users/hatschiii/)
 * (@hatschiii)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/3rd-party-by-default-enabled/#post-10323011)
 * 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](https://wordpress.org/support/users/gasparnemes/)
 * (@gasparnemes)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/3rd-party-by-default-enabled/#post-10361051)
 * 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.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [MA](https://wordpress.org/support/users/gasparnemes/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/3rd-party-by-default-enabled/#post-10361051)
 * Status: resolved