• Resolved boo6ie

    (@boo6ie)


    Hello,

    I want to delete complianz on a page because I have a problem with the Google Map.
    If I accept cookies, I still have to refresh the page for the map to display.

    Do you have a solution for this?

    I tried to disable google map in Complianz > Integration but it doesn’t work.

    Thank you for your help ??

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor jarnovos

    (@jarnovos)

    Hi @boo6ie,

    If you additionally disable the integration with Advanced Custom Fields under Complianz > Integrations > Plugins, the map should no longer be blocked.

    The reason why it doesn’t work at the moment is that Google Maps is blocked, but there is another script (likely from your theme) named us.core.min.js which is not blocked yet. When this script loads it references the Google Maps script that is still blocked by Complianz, and therefore you see a “google is not defined” error. This article explains the details: https://complianz.io/integrating-plugins/

    The usual fix would be to block the “us.core.min.js” script in the Script Center as well, and make it wait until the Google Maps API has loaded. But as it seems to concern a core script from your theme which contains more than just Google Maps-related things, blocking it might affect other elements on your website as well.

    Kind regards,
    Jarno

    Thread Starter boo6ie

    (@boo6ie)

    Hi Jano,

    It’s very clear ??
    Thank you and have a good day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude google map from Complianz’ is closed to new replies.