Avoid the Google Maps embedded in the cookie webpage.

I have a simple website page with a map (from Google Map ) embedded in iFrame.

<iframe src="https://www.google.com/maps/embed? .... ></iframe>

See Fiddle for an example .

Attaching a map to a page saves Google cookies in the client’s browser.

Is there any way to avoid this?


Why am I asking about this:

in the EU, a website that stores third-party cookies on a user device must receive informed consent from the user and enable him / her to read a long cookie and privacy document. See Cookies - European Commission

Getting informed consent requires a website that uses only session cookies (non-persistent) not .

There are many simple websites that aim to provide a simple basic online presence for commercial events such as restaurants, shops, etc.

Typically, these websites only need session cookies (or no cookies at all).

However, since many of them use the built-in Google Maps to show their location, they automatically fall into the category of “sites where third-party cookies are stored” and must comply with all EU obligations regarding this. I think there is too much overhead for just displaying a map.

+4
1

, cookieless google maps v3:

https://maps-apis.googleblog.com/2011/10/grab-bag-of-maps-api-news.html

, , , , , API maps.googleapis.com, maps.google.com maps-api-ssl.google.com., maps.googleapis.com Maps API v3 cookie Google. API, . , maps.googleapis.com.

:

https://developers.google.com/maps/documentation/javascript/adding-a-google-map

+5

Source: https://habr.com/ru/post/1662957/


All Articles