• Resolved ccrr44

    (@ccrr44)


    Hello, is it possible to show the cookie consent again on the next page accessed by the visitor if it was previously rejected?

    Or is it possible to shorten the lifetime only for the reject-cookie and if so, where?

    • This topic was modified 3 years, 4 months ago by ccrr44.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter ccrr44

    (@ccrr44)

    Perhaps it has not become quite clear: I would like visitors who do not give their consent to be shown the consent banner again when they view additional pages.

    Are there 2 different cookies: one for consent, one for refusal? I would like to then shorten the lifetime for the cookie for refusal. In which file can I change the function (function name)?

    Plugin Contributor Aert Hulsebos

    (@aahulsebos)

    Hi @ccrr44,

    What about hiding the dismiss button? If a user doesn’t choose, the banner keeps appearing. Consent remains ‘denied’.

    If the user chooses, the banner disappears and consent is registered.

    Both options do not adhere to guidelines, but this one is far simpler. Some CSS:

    .cc-dismiss {display:none;} should do the trick.

    regards Aert

    Thread Starter ccrr44

    (@ccrr44)

    Hi @aahulsebos,
    thank you for the answer. But your suggestion would be against the guidelines. But if I show the consent banner again on the next page or after a short time after rejection, it would not be against the guidelines.

    Is there no way to include a different lifetime for the reject-cookie?

    regards Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Show the cookie consent again if rejected’ is closed to new replies.