• Resolved grossfr

    (@grossfr)


    In the complianz tutorial

    https://complianz.io/add-a-link-to-show-the-cookie-banner/

    it is shown how to pop up the Cookie banner by clicking in a link. I tried to implement the link on a page and it is not working. Also, the example on above tutorial is not functioning.

    Please help with a more detailed description.

    Is there another way for the user to change partly the given consent?

    Thank you, Franz

    • This topic was modified 1 year, 10 months ago by grossfr.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @grossfr,

    The example in the article works on my end, and I’ve just implemented it on another test site where it also works correctly.

    One possible reason for this is that you might have the option “Respect Do Not Track settings in browsers” enabled in the plugin, found under Wizard > General > Security & Consent.

    Meaning that if the plugin detects a Do Not Track signal from the browser (which browsers such as Firefox have enabled by default), the plugin will automatically assume all your cookie preferences to be “denied”, and doesn’t display a banner as a result.

    Disabling that option in Complianz, or disabling the “Send a Do Not Track” option in your browser, will resolve this behavior and cause the banner to appear.

    While I’d expect the above to be the reason for the described behavior, please find further instructions on creating the link as well:

    Make sure to copy the code under the section Adding javascript to trigger the Cookie banner, place it in a .php file and upload to the folder /wp-content/mu-plugins/ on your site.

    And then you can create a link by using the class cmplz-show-banner.

    <p>Manage your cookie preferences <a class="cmplz-show-banner">by clicking here.</a></p>

    Kind regards, Jarno

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @grossfr,

    Have you been able to address this by following the instructions provided above?

    Kind regards, Jarno

    Thread Starter grossfr

    (@grossfr)

    Hi,

    thank you for your instructions.

    Yes and No. I have obviously a problem with Firefox. I tested with Chrome and it was working. In Firefox I have enabled Java Script but no reaction. Do you have any hint what is wrong in Firefox?

    Kind Regards, Franz

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @grossfr,

    If it works normally in Chrome, I expect it to be related to the “Do Not Track” setting in Firefox that I mentioned previously.

    Navigate to Settings > Privacy & Security in the Firefox browser, then set “Send websites a “Do Not Track” signal” to “Only when Firefox is set to block known trackers.

    Kind regards, Jarno

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Show Cookie Banner’ is closed to new replies.