Skip to content
  • Guide TYPO3
  • Login / Account
  • Functions / Extensions
  • Audio / Video
  • Terms of Use
  • FAQs
  • de
  • en
  • Central Information Technology (TYPO3-Team)
  • IT Service Center (ITSZ)
  • Technical University of Munich
Technical University of Munich
  • Home
  • News from TYPO3 Team
  • Webpool
    • Non-faculty institutions
    • TUM School of CIT
    • TUM School of ED
    • TUM School of LS
    • TUM School of MGT
    • TUM School of MH
    • TUM School of NAT
    • TUM School of SOT
    • TUM Graduate School (GS)
    • Integrative Research Institutes (IRI)
    • Technology Core Facilities (TCF)
    • Corporate Research Centers
    • Munich School of Politics and Public Policy
    • TYPO3 Web-Archive
  • Service
    • Offer
    • Terms of use
    • Requirement
  • Documentation
    • TYPO3 basics
      • Terms
      • Module bar
      • Page tree
      • Filelist
      • Recycler
    • User management
      • Registration and login
      • Permission concept
      • Groupdelegation
    • Pages
      • Page types
      • Create a page
      • Visibility
      • Order pages
      • Delete pages
      • Scheduled publishing
      • Page layout
    • Content elements
      • Page content types
      • Create Page content
      • Headers
      • Text & Media
        • Images
        • Image gallery
        • Slideshow
        • Alternative text for images
        • Image cropping
      • Audio & video
        • Embedding audio files
        • Embedding videos
      • Tables
      • File Links
      • Menu
      • Insert records
      • Rich Text Editor (RTE)
      • Adding links
        • Manage anchors
      • Spacing between content elements
      • Multi-column content
      • Accordion Functionality
      • Frames & Boxes
      • Social Media Box
    • Extensions
      • CurlContent
      • TUM MemberList
      • TUMcourses
      • TUMvCard
      • News
      • TUMFIS
      • T3UP Carousel
      • iframe with consent
    • English version
    • Contact area
    • Accessible content
    • Legal matters
    • Maps
      • Maps with Google Maps
      • Maps with BayernAtlas
  • FAQs
  • Contact
  • Sitemap
  1. Home
  2. Documentation
  3. Extensions
  4. iframe with consent

Extension iFrame with consent

With iFrame with consent, you can integrate content from external sources - such as maps or program booklets - into your website as an iframe in compliance with GDPR.

This is how it's done

Screenshot: Create a Content Element
Image 1: Create a Content Element
  • Create a new content element (Image 1, No. 1).
  • In the Special elements tab, select “iFrame with consent” (Image 1, No. 2 & 3).

Get the url for "iFrame with consent"

Screenshot: Generate and copy iFrame code
Image 2: Generate and copy iFrame code

Elements you can embed include, for example, map material from Google Maps or Bayern Atlas. Other sources are also possible, as long as the external source can generate an iframe code.

Important: You only need the address (starting with ...) contained in the iFrame code - not the entire code.

In our example, Google Maps generates the following iframe code for embedding the map:

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2662.017193630114!2d11.561528475067217!3d48.14847375040436!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x479e75e5a775b12d%3A0x1a96a662d6239af3!2sRichard-Wagner-Stra%C3%9Fe%2018%2C%2080333%20M%C3%BCnchen!5e0!3m2!1sde!2sde!4v1704796703714!5m2!1sde!2sde" width="600" height="450" style="border:0;" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>

It’s best to copy the code into a text editor and extract the part in bold between the quotation marks. Enter only this part into the iFrame URL field (Image 3).

Please note: Any spaces in the URL can cause errors when loading! Replace these spaces with plus signs (“+”).

iframe

Screenshot: Plugin "iFrame"
Image 3: Plugin "iFrame"
  • iFrame URL: Enter the URL of the element you want to embed.
  • Size/Ratio: Set the iframe's aspect ratio or height.
  • Background Image: Add a background image as a preview thumbnail.

This is how it looks like

By activating external content from www.google.com, you consent to transmitting data to this third party.
More Info
To top

TYPO3 News

14.04.2026

TUMFIS is now available (Open Beta)

23.03.2026

Structured Data and JSON‑LD available

25.02.2026

New functions: Image cropping and Anchor links

21.01.2026

New Security Concept - User Accounts

01.08.2025

We are in OTRS!

RSS Feed

TUM TYPO3 (ZIT)

Richard-Wagner-Str. 18
80333 München
typo3@tum.de

  • Privacy
  • Imprint
  • Accessibility