• Resolved jakvax012

    (@jakvax012)


    Hello, I have one little problem. The cookie banner is showing only If I am logged as admin. How can i set up showing banner for non-logged users?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    That sounds like a caching/optimization/minification problem. Can you try clearing the cache, or deactivate the caching plugin?

    Thread Starter jakvax012

    (@jakvax012)

    Thank for your fast respond. You were right. I was trying clearing cache or going to the page trought private window, but it does’t work. After deactivate WP Rocket (caching plugin), it works. After reactivate plugin, banner doesn’t work for non-login users again. What can i do, when I want to both – banner and caching plugin? This problem I have on two websides which are using different caching plugin. One is using WP Rocket and second have Lite speed cache. But on both cookie banner doesn’t work for non-logged users.

    Plugin Contributor jarnovos

    (@jarnovos)

    Hi @jakvax012,

    You can do a Clear All/Purge All action in the caching plugin it concerns while Complianz is activated. Then visit your site in an Incognito window, to see if the banner appears for non-logged in users.

    If it does not, there could be a specific optimization in the caching plugin causing this behavior, such as JavaScript Minification or Delay JavaScript Execution.

    The best way to find out which functionality is causing this is to disable optimizations one by one, clear cache, then view the front-end in Incognito mode after doing so. When the banner re-appears you’ll know exactly which optimization caused it.

    And we can always have a look at the website in question, if you provide an URL.

    Kind regards,
    Jarno

    Thread Starter jakvax012

    (@jakvax012)

    Thanks for the idea.
    It is working. If anyone else has a problem with that:
    WP Rocket – you must have disabled “Combine JavaScript files” in section “File optimization”
    LiteSpeed Cache – page optimization > JS settings > JS Minify – OFF / JS Combine – OFF / JS combine external and Inline – OFF / Load JS Deferred – Deferred
    This is my options with which works.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Banner show only when I am logged – in’ is closed to new replies.