• Resolved asterioskma

    (@asterioskma)


    Dear Fabio,

    First of all, I would like to thank you for this plugin. You have created something really impressive, and I can only imagine how much effort went into it.

    I would like to ask for your help with a small issue.
    My site is built with the Bricks Builder, and I use Google Maps to display my address. The scan didn’t find the Google Maps cookie, so I added it from the script options. Although it was still working, when I chose “accept/deny all cookies”, it still didn’t appear in the cookie banner under “functional”. I then added the cookie manually, and it now appears in the cookie banner.

    The second issue is that there is no banner over the map displaying a message for visitors saying, ‘In order to see the map, you must accept functional cookies’. I hope this makes sense.

    Could you please help me with this?

    Best regards,
    Asterios

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author fabiodalez

    (@fabiodalez)

    Thank you, and thanks for the link to your contact page, it made the problem easy to see. Both things you noticed have the same cause: Bricks does not use an iframe for its Map element. It prints an empty box and draws the map from JavaScript once the Google Maps script has loaded. FAZ was already blocking that Google script until consent, which is correct, but it had nothing to show in the empty box, so visitors saw a blank space with no notice and no way to accept.

    This is fixed in 1.32.0. The Bricks Map element now gets the same consent notice as any other blocked embed, with an Accept button right where the map goes. Until the visitor accepts, the map settings stay parked and nothing is requested from Google. After the click the Google script loads and Bricks draws the map on the same page, without a reload. Your site uses WP Rocket’s Delay JavaScript, which loads Bricks’ map script later than Google’s, and that case is handled too: FAZ starts the map once both scripts are there. After updating, please clear the WP Rocket cache so visitors get the new version of the page.

    About the scan not finding a Google Maps cookie: that is expected. The map sets its cookies on Google’s own domains, not on yours, and a scan of your site can only read the cookies your domain sets. FAZ still recognises Google Maps as a service from its script and blocks it, so the cookie entry is not what makes the blocking work. Keeping the entry you added is fine, and useful, because it is what lists Google Maps in the cookie declaration your visitors read.

    Your map is in the Functional category, which is a reasonable choice for a location map. If you turn on “Enable per-service consent” in Settings, the Accept button on the map allows Google Maps alone instead of the whole Functional category.

    Thread Starter asterioskma

    (@asterioskma)

    Dear Fabio,

    Thank you very much for the quick response.

    The update has solved the issue, and everything is working perfectly now.

    Best regards,
    Asterios

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.