> 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/nl/features/cookies/integration/identification.md).

# Gebruikersidentificatie

Deze pagina legt uit hoe u de interne identifiers van de organisatie in het bewijs van toestemming kunt traceren.

## Werking

U stuurt de unieke identifier van de geauthenticeerde gebruiker van uw intranet naar de Dastra-banner, die deze identifier doorgeeft bij het verzamelen van de toestemming van de gebruiker. U kunt het bewijs van toestemming dan koppelen aan uw klantenbestand (CRM, klantenregister enzovoort). De identifier die u hebt doorgegeven, wordt weergegeven in het gedeelte waar u de bewijzen van toestemming raadpleegt.

## Stap 1: de gebruikersidentifier kiezen

Kies voor deze koppeling een gepseudonimiseerde identifier om aan de banner door te geven, zoals de interne klant-ID of de CRM-ID. Deze variabele moet beschikbaar zijn op de webpagina en wordt als platte tekst verzonden: ze mag geen directe persoonsgegevens bevatten (achternaam, voornaam, e-mailadres), ook niet base64-gecodeerd, omdat base64 omkeerbaar is.

## Stap 2: de integratiecode aanpassen

```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" %}
Afhankelijk van de hostingregio van uw organisatie verandert het adres van het script (`cdn-bleu.dastra.eu` in plaats van `cdn.dastra.eu`). Gebruik het adres van de code die u uit de sectie **Installatie** van de banner hebt gekopieerd.
{% 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/nl/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.
