Skip to content
  • Guide TYPO3
  • Login / Account
  • Functions / Extensions
  • Audio / Video
  • 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
    • Offering
    • Application
    • Terms of use
    • Service Level Agreement
  • Documentation
    • TYPO3 basics
      • Terms
      • Backend
      • Module bar
      • Page tree
      • Filelist
      • Recycler
    • User management
      • Basic principle
      • Registration and login
      • Permission concept
      • Groupdelegation
    • Pages
      • General information
      • Page types
      • Create a page
      • Visibility
      • Order pages
      • Delete pages
      • Scheduled publishing
      • Page layout
    • Content elements
      • General information
      • Page content types
      • Creating page content
      • Headings
      • Text & Media
        • The content element
        • Images
        • Image gallery
        • Slideshow
        • Alternative texts
        • Image cropping
      • Audio & video
        • Embedding audio files
        • Embedding video files
      • Tables
      • File Links
      • Menu
      • Insert records
      • Rich Text Editor (RTE)
      • Links
      • Anchors
      • Spacing
      • Multi-column content
      • Accordion
      • Frames & Boxes
      • Social media box
    • Extensions
      • General information
      • 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
    • FAQs about the backend
    • FAQs about the frontend
    • FAQs about TUMFIS
    • FAQs about TUMonline
  • Contact
  • Sitemap
  1. Home
  2. Documentation
  3. Extensions
  4. iframe with consent

iFrame with consent

The content element "iFrame with Consent" enables the GDPR-compliant integration of external content such as maps, site plans, or event calendars. Before any external content is loaded, a consent dialog is displayed, asking users for permission.

It is a standard extension and is available on every TUM website.

Content

  • When to use "iFrame with consent"?
  • Embedding iFrame with Consent – step by step
  • Field overview
  • Consent dialog
  • Example

When to use "iFrame with consent"?

Use CaseExample
Interactive mapsGoogle Maps, BayernAtlas
Site plansTUM Campus Map
External calendarsEvent calendars
External websitesOther web presences/websites

Advantages over a standard iFrame

The consent element only loads external content after the user has given their consent. This protects user privacy and ensures compliance with the GDPR.

Embedding iFrame with Consent – step by step

Step 1: Extract the URL from the Embed Code

Many external services (e.g., Google Maps) provide an embed code. From this code, you only need the URL (the value of the src attribute).

Example embed code: <iframe src="https://www.google.com/maps/embed?pb=..." width="600" ...></iframe>
→ Required URL: https://www.google.com/maps/embed?pb=…

Spaces in URLs can cause errors. Replace any spaces with plus signs (+).

Step 2: Create the Element

  1. Open the Page module and select the target page.
  2. Click “+ Content” → “Special” group → “iFrame with Consent”.
  3. Paste the extracted URL into the “iFrame URL” field.
  4. Set the size or aspect ratio (e.g., 16:9).
  5. Optional: Upload a background image for the consent dialog.
  6. Save the content element.

Field overview

FieldDescription
iFrame URLURL of the external content (extracted from the embed code)
Size / Aspect ratioFor example, 16:9, 4:3, or a fixed height in pixels (px)
Background imagePreview image displayed in the consent dialog before the external content is loaded

Consent dialog

Users initially see a consent dialog displaying the background image and an explanation of which data may be transferred to external providers. The external content is only loaded after the user clicks “Accept”. This ensures transparency and helps protect users' privacy by preventing data transmission before consent has been given.

Privacy note

When external content is activated, user data is automatically transmitted to the respective provider (e.g., Google). Make sure to inform users about this data transfer in your privacy policy.

Example

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

TYPO3 News

11.06.2026

TYPO3 v14 - That's new

11.06.2026

TUMFIS is now officially available

10.06.2026

TYPO3 v12: Code Freeze and Planned Upgrade to Version 14

10.06.2026

Transition of TUMonline to Public REST APIs

14.04.2026

TUMFIS is now available (Open Beta)

RSS Feed

TUM TYPO3 (ZIT)

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

  • Privacy
  • Imprint
  • Accessibility