User identification
This page explains how to trace the organization's internal identifiers in the proof of consent
How it works
Step 1: Choose the user ID
Step 2: Adapt the integration code
<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's initialization
window.dastra = window.dastra || [];
β
// Load the cookie consent in page
dastra.push(['loadCookieConsent', {
widgetId: {Paste your widgetId here (digit)},
selector: '#cookie-consent',
userId: {The userId's variable (email 64bits hash or whatever...)}
}]);
</script>Last updated
Was this helpful?