> For the complete documentation index, see [llms.txt](https://doc.dastra.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dastra.eu/de/features/cookies/integration/identification.md).

# Nutzeridentifizierung

Diese Seite erklärt, wie Sie die internen Kennungen der Organisation im Einwilligungsnachweis nachvollziehbar machen.

## So funktioniert es

Sie senden die **eindeutige Kennung des authentifizierten Nutzers** Ihres Intranets an das Dastra-Banner, das diese Kennung bei der Erfassung der Einwilligung des Nutzers mitgibt. Anschließend können Sie den Einwilligungsnachweis Ihrem Kundenbestand zuordnen (CRM, Kundenverzeichnis usw.). Die von Ihnen übergebene Kennung wird in dem Bereich angezeigt, in dem Sie die Einwilligungsnachweise einsehen.

## Schritt 1: Die Nutzerkennung wählen

Wählen Sie für diese Zuordnung eine pseudonyme Kennung, die Sie an das Banner übergeben, etwa die interne Kunden-ID oder die CRM-ID. Diese Variable muss auf der Webseite verfügbar sein und wird im Klartext gesendet: Sie darf keine direkten personenbezogenen Daten enthalten (Nachname, Vorname, E-Mail-Adresse), auch nicht Base64-kodiert, da sich Base64 umkehren lässt.

## Schritt 2: Den Integrationscode anpassen

```html
<div id="cookie-consent"></div>
<script src="https://cdn.dastra.eu/sdk/dastra.js?key={YOUR PUBLIC KEY HERE}" async></script>
<script>

// Dastra's array initialization
window.dastra = window.dastra || [];

// Load the cookie consent in page
dastra.push(['loadCookieConsent', {
    widgetId: {Paste your widgetId here (digit)},
    selector: '#cookie-consent',
    userId: '{your user pseudonymous id}'
}]);
</script>
```

{% hint style="info" %}
Je nach Hosting-Region Ihrer Organisation ändert sich die Adresse des Skripts (`cdn-bleu.dastra.eu` statt `cdn.dastra.eu`). Verwenden Sie die Adresse des Codes, den Sie aus dem Abschnitt **Installation** des Banners kopiert haben.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.dastra.eu/de/features/cookies/integration/identification.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
