Title: Plugin blocking Login / Registration popup
Last modified: October 5, 2020

---

# Plugin blocking Login / Registration popup

 *  Resolved [khuffu](https://wordpress.org/support/users/khuffu/)
 * (@khuffu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/)
 * The Complianz plugin is blocking the login popup for the site (can be found top
   right).
 * 1. Login works if the cookies have been accepted, but only after refreshing the
   page. So is there a way to automatically refresh the page after cookies have 
   been accepted?
 * 2. If the “only functional” button is selected, the Login also doesnt work. Can
   I somehow add the script, so that the Login / Registration works even if only
   functional is selected. Preferably I would like to prevent Complianz from blocking
   anything related to the the login.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-blocking-login-registration-popup%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13492138)
 * Hi [@khuffu](https://wordpress.org/support/users/khuffu/),
 * Can you tell me how this login form is set-up, by a plugin for example? If the
   form itself might track user behavior by any means, it might be Complianz will
   block the tracking while the form is dependent on the script to run.
 * regards Aert
 *  Thread Starter [khuffu](https://wordpress.org/support/users/khuffu/)
 * (@khuffu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13492200)
 * [@aahulsebos](https://wordpress.org/support/users/aahulsebos/) Thank you for 
   your response.
 * Yes, the login form is created using the following plugin: [https://docs.oceanwp.org/article/499-how-to-show-popup-login-link](https://docs.oceanwp.org/article/499-how-to-show-popup-login-link)
 * Is it possible to whitelist the plugin?
 * I have had a look, no tracking exists from what I can see.
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13492348)
 * Hi [@khuffu](https://wordpress.org/support/users/khuffu/),
 * Could you enable safe mode under settings, and see if this works? The online 
   inline scripts that are blocked are Analytics and Advanced Ads. Enabling safe
   mode will let us know if it’s due to the cookie blocker,
 * regards Aert
 *  Thread Starter [khuffu](https://wordpress.org/support/users/khuffu/)
 * (@khuffu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13492593)
 * [@aahulsebos](https://wordpress.org/support/users/aahulsebos/)
    Yes, with safe
   mode on, the login form works just as intended. Even without accepting any cookies
   the login form works.
    -  This reply was modified 5 years, 7 months ago by [khuffu](https://wordpress.org/support/users/khuffu/).
    -  This reply was modified 5 years, 7 months ago by [khuffu](https://wordpress.org/support/users/khuffu/).
    -  This reply was modified 5 years, 7 months ago by [khuffu](https://wordpress.org/support/users/khuffu/).
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13493343)
 * Hi [@khuffu](https://wordpress.org/support/users/khuffu/),
 * I’m almost certain Complianz is not blocking the plugin itself. It looked like
   the login form was dependent on Analytics being loaded, probably because it registers
   click events or certain user interaction.
 * The only error I saw was; ga not defined, which is due to your woocommerce tracking
   script, and the consent needed for Google Analytics to initialize in the first
   place.
 * Could you disable safe mode, and under Wizard – Cookies – Statistics Configuration
   change; do you want to ask consent to NO, and try again?
 * regards Aert
 *  Thread Starter [khuffu](https://wordpress.org/support/users/khuffu/)
 * (@khuffu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13493534)
 * Hi [@aahulsebos](https://wordpress.org/support/users/aahulsebos/)
 * I am rather certain that it is the cookie banner blocking it, as the plugin developer
   also mentions that for the login/registration actions to function it requires
   cookies acceptance.
 * We can make the cookie banner more central on the page and thus forcing the user
   to accept it before attempting anything. But that doesnt solve the problem of
   the user having to refresh the page after acceptance.
 * I looked into Wizard>Cookies>Statistics Configuration and the only option I have
   there is to input the UA-Code.
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13493760)
 * Hi [@khuffu](https://wordpress.org/support/users/khuffu/),
 * Could you try deleting this script, and try?
 *     ```
       <!-- WooCommerce JavaScript -->
       <script type="text/javascript">
       jQuery(function($) { 
       $( '.add_to_cart_button:not(.product_type_variable, .product_type_grouped)' ).click( function() {
       ga( 'ec:addProduct', {'id': ($(this).data('product_sku')) ? ($(this).data('product_sku')) : ('#' + $(this).data('product_id')),'quantity': $(this).data('quantity')} );
       ga( 'ec:setAction', 'add' );
       ga( 'send', 'event', 'UX', 'click', 'add to cart' );
       });
       ga( 'send', 'pageview' ); 
       });
       </script>
       ```
   
 *  Thread Starter [khuffu](https://wordpress.org/support/users/khuffu/)
 * (@khuffu)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13508847)
 * [@aahulsebos](https://wordpress.org/support/users/aahulsebos/) That seems to 
   have been the issue, once removed it worked as intended. Thank you!
    -  This reply was modified 5 years, 7 months ago by [khuffu](https://wordpress.org/support/users/khuffu/).
 *  Plugin Contributor [Mathieu Paapst](https://wordpress.org/support/users/paapst/)
 * (@paapst)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13525414)
 * Hi [@khuffu](https://wordpress.org/support/users/khuffu/)
 * Great to hear that your issue is resolved! Could you tell us what you think of
   the plugin or the support by casting [your Review here](https://wordpress.org/support/plugin/complianz-gdpr/reviews/#new-post)?
   We’d love to hear your feedback!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Plugin blocking Login / Registration popup’ is closed to new replies.

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Mathieu Paapst](https://wordpress.org/support/users/paapst/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-blocking-login-registration-popup/#post-13525414)
 * Status: resolved