• Resolved khuffu

    (@khuffu)


    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 to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @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

    (@khuffu)

    @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

    Is it possible to whitelist the plugin?

    I have had a look, no tracking exists from what I can see.

    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @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

    (@khuffu)

    @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 4 years, 5 months ago by khuffu.
    • This reply was modified 4 years, 5 months ago by khuffu.
    • This reply was modified 4 years, 5 months ago by khuffu.
    Plugin Author Aert Hulsebos

    (@aahulsebos)

    Hi @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

    (@khuffu)

    Hi @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 Hulsebos

    (@aahulsebos)

    Hi @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

    (@khuffu)

    @aahulsebos That seems to have been the issue, once removed it worked as intended. Thank you!

    • This reply was modified 4 years, 5 months ago by khuffu.
    Plugin Contributor Mathieu Paapst

    (@paapst)

    Hi @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? 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.