Consent Management¶
Dxtra provides a consent management platform that handles consent collection, storage, and validation for GDPR, CCPA, and other privacy regulations.
Overview¶
Dxtra's consent management includes:
- Consent form builder with compliance-ready templates
- Cookie consent banners and preference centers
- Granular consent categories (Strictly Necessary, Performance, Functional, Targeting)
- Consent audit trail for regulatory compliance
- Privacy signal detection (GPC, DNT)
Consent Categories¶
Strictly Necessary¶
Essential cookies for website functionality. These cannot be disabled by users.
- Legal Basis: Legitimate interest or contract performance
- Examples: Authentication, security, shopping cart, load balancing
Analytics and Performance¶
Understanding how visitors use the website to improve user experience.
- Legal Basis: Consent required
- Examples: Page views, user flows, performance metrics, device data
Marketing and Advertising¶
Personalized advertising and marketing communications.
- Legal Basis: Explicit consent required
- Examples: Retargeting, social media pixels, email marketing, conversion tracking
Functional¶
Optional features that enhance user experience.
- Legal Basis: Consent or legitimate interest
- Examples: Embedded video, chat widgets, language preferences, social sharing
Consent Collection¶
Website Widget¶
Deploy the consent banner on your website:
<script src="https://transparencycenter.dxtra.ai/assets/index.js" type="module"></script>
<transparency-app data-controller-id="YOUR_DATA_CONTROLLER_ID"></transparency-app>
The widget displays a cookie consent banner on first visit and provides a preference center for managing consent.
Consent Forms¶
Mobile App Integration¶
// iOS Swift example
let consentManager = DXTRAConsentManager(controllerDID: "did:dep:abc123")
1. Navigate to **Consents** in the dashboard
2. Click **Create Consent Form**
3. Select a template or start from scratch
4. Configure consent categories and descriptions
5. Set display options (modal, banner, or inline)
6. Publish to your website
### Available Templates
| Template | Regulation | Use Case |
|----------|------------|----------|
| GDPR Cookie Banner | EU GDPR | Website cookie consent |
| CCPA Opt-Out Notice | California CCPA | Consumer privacy notice |
| Email Marketing Consent | CAN-SPAM, GDPR | Double opt-in email consent |
| Newsletter Subscription | Marketing Laws | Communication consent |
## Consent Preference Center
Data subjects can manage their consent preferences through the Transparency Center. The preference center provides:
```javascript
// DID generation for data subject
const dataSubjectDID = await dxtra.generateDataSubjectDID({
email: 'user@example.com',
controllerDID: 'did:dep:controller123'
});
// Result: "did:dep:ds:abc123xyz789"
Dxtra detects and respects browser privacy signals:
- Global Privacy Control (GPC) -- Automatically detected and honored
- Do Not Track (DNT) -- Detected and applied to consent defaults
Consent Record Storage¶
Each consent decision is recorded with:
- Consent categories granted or denied
- Timestamp of the decision
- Source (website, preference center, API)
- Method (explicit consent)
Consent records are maintained for audit purposes and can be queried through the dashboard or API.
GDPR Compliance¶
Dxtra consent management follows GDPR Article 7 requirements:
- Clear purposes -- Each consent category has a plain-language description
- Freely given -- No pre-checked boxes, consent not bundled with service access
- Easy withdrawal -- Consent can be withdrawn as easily as it was given
- Audit trail -- Complete records of all consent decisions
CCPA Compliance¶
For CCPA compliance, Dxtra supports:
- "Do Not Sell" opt-out mechanisms
- Consumer rights request integration
- Global Privacy Control detection
Consent Analytics¶
The Consents section in the dashboard provides:
Standalone Preference Center¶
<!-- Embedded preference center -->
<div id="dxtra-preference-center"
data-controller-did="did:dep:controller123"
data-data-subject-id="your-data-subject-id"
data-theme="light"></div>
## Related Documentation
#### Integrated Dashboard Widget
```javascript
// Customer portal integration
const PreferenceCenter = () => {
return (
<div className="privacy-preferences">
<h3>Privacy Preferences</h3>
<DXTRAPreferenceCenter
controllerDID="did:dep:controller123"
dataSubjectId={currentUser.dxtraDID}
theme="dark"
onConsentChange={handleConsentChange}
/>
</div>
);
};
For implementation assistance, contact support@dxtra.ai.