• Resolved af7567

    (@af7567)


    When clicking the reject button, the cookie “viewed_cookie_policy” is set to “no”. This causes the cookie bar to not be displayed on the next site visit because in the javascript code it only checks if the cookie exists and not if it is set to yes or no.

    from public/js/cookie-law-info-public.js:

    
    if (!CLI_Cookie.exists(CLI_ACCEPT_COOKIE_NAME)) {
                                    CLI.displayHeader();
    
    • This topic was modified 1 year, 7 months ago by af7567.
Viewing 1 replies (of 1 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @af7567,

    Greetings from Webtoffee!

    This sort of behaviour is typical. The value of “viewed cookie policy” is saved once you select Reject or Accept in the cookie bar. The visitor will only see the banner when this cookie expires, which is in 365 days.

    We have a choice in the plugin settings called “Revisit consent” that you may select if you wish to give site visitors the option to change their mind about giving their approval. You may turn it on by going to GDPR Cookie Consent > Settings > Customise Cookie Bar > Revisit Consent. This will enable the banner to return simply clicking a little widget at the bottom of the website.

Viewing 1 replies (of 1 total)
  • The topic ‘Reject button does not work’ is closed to new replies.