Embed Google Maps in a GDPR-Compliant Way in Webflow

Level: Beginner
Webflow General
Details
Level
Beginner
Date
July 12, 2026
Author
Lächelnder Mann mit kurzem braunem Haar und Bart vor orangem Hintergrund.
Jonas Arleth
Blog Post

Instructions: How do I integrate Google Maps into a Webflow website in compliance with the GDPR? If you include the card with the embed code, it is not GDPR compliant by default, as Google does not block cookies. You would have to prevent it accordingly with a cookie banner and only load it if you accept. With many cookie banners, this works in a similar way to what I show you here in the video instructions.

To include a Google Maps map on your website in accordance with the General Data Protection Regulation (GDPR), you should follow a few steps. First of all, you need to make sure that the map only loads if the user expressly agrees to the use of their data. This can be done via a declaration of consent, which the user must accept before loading the card. In this guide, we use the tool”cookie script”.

Cookie script cookie banner:
https://cookie-script.com/?ref=jonasarleth (affiliate link)

My detailed guide to integrate cookie script into your Webflow project:
https://www.jonasarleth.com/blog/dsgvo-cookie-banner-in-webflow-integrieren-cookie-scrip

Cookie script instructions to block iframes:
https://cookie-script.com/how-to-block-third-party-cookies.html#blocking-third-party-cookies-set-with-an-iframe

How do you integrate a Google Maps map with an embed code into a website?

To integrate a Google Maps map on your website, you can use an embed code from Google Maps. Here are the steps you'll need to take:

  1. Open Google Maps in your browser and search for the desired address.
  2. Select “Share or Embed a Map.”
  3. Click “Embed on a website” and copy the generated code.
  4. Paste the code where you want in Webflow into an embed code element on your website.
  5. Save the changes and follow the steps from the video to block them by default when the site loads.

More content

Blog Archiv

MAST Framework Deep Dive in Webflow: From Setup to System

Deep dive into the MAST Framework for Webflow: differences from Client-First, component workflow, grid system, variables, icons, and client onboarding.
Video
Kategorie
Webflow General

Anschauen
Beitrag anschauen

How to build flexible web layouts without a grid (Webflow Workflow)

Webflow tutorial: Why I rarely work with fixed column grids and how you can still professionally implement layouts.
Video
Kategorie
Beginner Tutorial
Skill
Beginner

Anschauen
Beitrag anschauen

Website SEO, schema markup and ALT texts now with AI

Webflow now automatically generates alt texts, meta data & schema markup — free, AI-based & without plugins. That's how the new update works!
Video
Kategorie
Webflow General

Anschauen
Beitrag anschauen

Webflow Conf 2025 Reaction: Just hype or actually useful?

Webflow Conf 2025 Reaction: AI code generation, new CMS and more. An honest take with real use cases and tips for your projects.
Video
Kategorie
Webflow General

Anschauen
Beitrag anschauen

10 NEW Webflow Tricks most Designers Don’t Know (But You Will)

10 Webflow Tricks You Definitely Haven’t Seen Yet! Watch now and take your web design to the next level — no code needed.
Video
Kategorie
Webflow General

Anschauen
Beitrag anschauen

Accessibility for websites: This is the law from 2025 in Germany + checklist

From June 2025, barrier-free web design will be mandatory. Learn what the new law requires and how to make your website accessible to everyone.
Video
Kategorie
Webflow General

Anschauen
Beitrag anschauen