> For the complete documentation index, see [llms.txt](https://docs.premsoft.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.premsoft.de/en/plugins/cms-elements/gdpr.md).

# gdpr

Two elements embed content from external providers. To keep your shop privacy-friendly, they use a **two-click solution**.

## What is the two-click solution?

External services like YouTube, Vimeo or Google Maps may transfer your visitors' data (e.g. their IP address) to the provider when loading. With the two-click solution, the external content is **only loaded once the visitor explicitly consents**. Before that, they only see a placeholder with an explanatory note.

## Affected elements

### Video (GDPR compliant)

* In the **"two-click" consent mode**, the YouTube/Vimeo video only loads after a click on the consent button.
* You can freely customise the **note text** and the **button text**.
* Optionally, you can also choose a **direct mode** (without prior consent) – in that case, check whether this fits your privacy policy.

### Google Maps (GDPR)

* The map only loads after the visitor's **consent**.
* You can set a **note text**, **button text** and a **placeholder image**.

### Map (OpenStreetMap)

* OpenStreetMap works **without a Google account and without an API key**.
* You can additionally require **consent** here, too.

## Your responsibility

The plugin gives you the technical tools for privacy-friendly operation. The legally compliant implementation – in particular the statements in your **privacy policy** and the coordination with your cookie/consent banner – is your responsibility. When in doubt, please seek legal advice.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.premsoft.de/en/plugins/cms-elements/gdpr.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
