• Resolved semplicewebsite

    (@semplicewebsite)


    Hello and thank you for this wonderful Plugin. I must say that the graphic part of the consent log is really beautiful. I have one problem, actually two. When I press the button to revoke the choice of cookies, the choices made previously are not remembered on the banner. Yes I also removed the check here “Delete all saved cookies when using the ‘Revoke consent’ button”

    http://provawe2.altervista.org/ This is the test website link to test your plugin. I inserted a Google Maps embed but I didn’t understand how to block it eventually.
    I inserted this script in the “Functional Cookies” section
    but it doesn’t work for me.

    <script async
        src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2933.863924178284!2d13.718954214971221!3d42.664238923831!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1331e7fb440e9c49%3A0xb14b0d7d82853713!2sViale%20Francesco%20Crispi%2C%2064100%20Teramo%20TE!5e0!3m2!1sit!2sit!4v1640797071015!5m2!1sit!2sit">
    </script>

    How can I solve?

    I thank you in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author christophrado

    (@christophrado)

    Hey there,

    the revoke button basically resets the cookie choice (by deleting the plugins own cookie), so the cookie banner resets as if the user visited the website for the first time. The “Delete all cookies” option defines whether third-party cookies should be deleted as well (e.g. an analytics cookie). So what you’re experiencing is basically by design and intended. There’s no way to change that behaviour as of now.

    The plugin doesn’t filter any content automatically at the moment, so whatever you put into the post content will be output anyway. If you embed a map programatically in a theme template, you can use the is_cookie_category_accepted( $category ) function to check whether cookies have been accepted. Auto-blocking of embeds is on the roadmap though, so that might be a feature in the future.

    Hope that helps!

    Thread Starter semplicewebsite

    (@semplicewebsite)

    I understand, so if I enter Google Analytics and the related script in the statistics section, it will be blocked in any case right? Thanks again for the clarification!

    Plugin Author christophrado

    (@christophrado)

    Yes. Any scripts entered in one of the three categories will only be output if the user accepts the corresponding cookie category. So if Google Analytics is in the marketing category and the user only accepts essential cookies (or none), GA will not be output/active.

    Thread Starter semplicewebsite

    (@semplicewebsite)

    Thank you so much for your time! You have been very kind!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The choice of cookies is not retained’ is closed to new replies.