Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1006210

    hi i need to block the google maps until the user give me the consent for cookie.
    where is the script for google maps in enfold i need to add some attribute to make it compatible with a plugin.

    i need to find this part

    <script id='avia_gmaps_framework_globals' type='text/javascript'>var avia_framework_globals = avia_framework_globals || {};
    

    thankyou

    #1006278

    Hey weasyweb2015,

    https://cl.ly/e38d8bf89d37 This code is in /enfold/framework/php/class-gmaps.php

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1006669

    yes i need to block my maps added via iframe for gdpr rules

    i need the consent of the user and block cookie and all data sent to google in order to show the map. can you help me please?

    • This reply was modified 5 years, 9 months ago by weasyweb2015.
    #1007046

    Hi,

    If you use the default google maps element you simply need to select the “User must accept to show” setting ( https://screenshotscdn.firefoxusercontent.com/images/67dd5b2a-eea7-4c88-bd07-f47fc370e8c0.png ) to make the map gdpr proof. Enfold then does not load and initialize the map scripts before the user clicks on a button.

    It’s not easily possible to add this logic to an iframe.

    Best regards,
    Peter

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.