• Resolved kim2organize

    (@kim2organize)


    I put Complianz on the academy of my client.
    Now some of her customers complain that the cookiebanner is visible on each page. So on each page you have to click accept.
    Especially Samsung mobile and also the Macbook.
    What am I doing wrong? Looking forward to your reaction.
    Greetings
    Kim Leegwater
    Kim2organize

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hallo @kim2organize,

    Am I correct in assuming that this concerns a Multisite WordPress installation?

    If that is the case, consent will be managed separately for “academie” and the “main” website (as these are different websites); therefore the banner is displayed once more when switching between the two domains.

    Could you attempt uploading the below code as a .php file in the folder /wp-content/mu-plugins/ on your website? This should force the consent cookies to be set on your main domain, which should address this behavior.

    <?php
    function my_cookie_domain($domain) {
        return 'vraagdevroedvrouw.nl';
    }
    add_filter( 'cmplz_cookie_domain', 'my_cookie_domain');

    Hope it helps, let me know!

    Met vriendelijke groet,
    Jarno

    I have the same problem, the cookie banner appears in each entry and page of wordpress. The accept button does not work, the error occurs on PC and mobile. This happened after updating to version Version 6.3.2. the problem happens in the same domain it is as if the accept button does not work.urgent solution please

    • This reply was modified 2 years, 2 months ago by popyplaytime.
    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @popyplaytime,

    Is this also related to multisite, could you post your URL?

    @kim2organize I can’t reproduce the issue at my end, did you follow Jarno’s advice or do I need a specific browser/device option?

    regards Aert

    It fixed itself, it works now, I don’t understand the reason but now everything is ok

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    @kim2organize I just checked your site, and it behaves as expected: after dismissing the banner on academie.rootwebsite the banner stays dismissed on all academie. pages. But on the root website the banner still appears, as this is seen as a separate website. After dismissing the banner there too, the banner stays dismissed on all pages.

    For different behaviour, in other words, applying consent to the web root, you can use the snippet Jarno posted above.

    Let me know if you have any other questions about this.

    Thread Starter kim2organize

    (@kim2organize)

    Sorry for my late reaction due to circumstances. It all works well at the desktop. But not on the mobile.

    The academy is made on a subdomain. So on both sites as well as vraagdevroedvrouw.nl as academie.vraagdevroedvrouw.nl I installed Complianz.

    When I choose the option “Hover on desktop and show on mobile” then there is a little banner visible, it doesn’t pop up and when I click on accept the little banner is still visible.

    When I choose the option “Hover on desktop and hide from mobile” than it all works well I think. But then the visitors don’t accept the cookies on their mobile. I am a bit confused or I haven’t installed it the right way? When I visit other websites the Cookiebanner pops up and after accepting it is gone.

    I did use the snippet on academie.vraagdevroedvrouw.nl and made the Cookiebanner hide from mobile. Because when I choose Show on mobile the little banner is still visible. Hope I explain my issue better now

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cookiebanner stays visible on each page on mobile device’ is closed to new replies.