GdprPrivacyCenter Module
Overview
The GdprPrivacyCenter module provides a unified customer-facing dashboard where customers can manage all their privacy settings, view consent history, submit data requests, and control their personal data in one centralized location.
Features
- Centralized privacy dashboard
- Consent management interface
- Data request submission and tracking
- Privacy policy viewer
- Marketing subscription management
- Account data overview
- Consent history
- Download personal data
Configuration
Path: Stores > Configuration > GDPR Compliance > Privacy Center
General Settings
| Setting | Description | Default |
|---|---|---|
| Enable Privacy Center | Show/hide privacy dashboard | Yes |
| Dashboard URL | Custom URL path | customer/account/privacy |
| Show in Customer Menu | Add link to account menu | Yes |
| Menu Label | Link text in account menu | "Privacy Settings" |
| Menu Sort Order | Position in menu | 100 |
Dashboard Sections
Enable/disable sections:
- Consent Management
- Data Requests
- Privacy Policy
- Cookie Preferences
- Marketing Subscriptions
- Account Data Overview
Display Settings
| Setting | Description | Default |
|---|---|---|
| Show Statistics | Display privacy stats | Yes |
| Show Last Login | Display last login date | Yes |
| Show Data Summary | Summary of stored data | Yes |
| Show Recent Activity | Recent privacy actions | Yes |
| Items Per Page | Pagination limit | 10 |
Customer Dashboard
Accessing Privacy Center
URL: /customer/account/privacy
Menu: Customer Account > Privacy Settings
Dashboard Overview
The main dashboard shows:
Privacy Summary - Total consents given: X - Active cookie preferences: Essential, Analytics - Data requests: 0 pending - Last privacy update: Date
Quick Actions - Manage Consents - Download My Data - Delete My Account - Update Cookie Preferences - View Privacy Policy
My Consents Tab
Shows all consent history:
| Consent | Status | Version | Date Given | Actions |
|---|---|---|---|---|
| Newsletter Marketing | ✓ Accepted | 1.0.0 | 2024-01-15 | Withdraw |
| Contact Processing | ✓ Accepted | 1.0.0 | 2024-01-10 | View Details |
| Marketing Cookies | ✗ Declined | 1.0.0 | 2024-01-15 | - |
Features: - View full consent text - See when consent was given - Withdraw consent - Download consent history - Filter by status/date
Data Requests Tab
Track all GDPR requests:
| Request Type | Status | Submitted | Due Date | Actions |
|---|---|---|---|---|
| Data Export | Completed | 2024-01-10 | - | Download |
| Account Deletion | Pending | 2024-01-15 | 2024-02-15 | Cancel |
Available Actions: - New Request - Submit new GDPR request - View Status - Check request progress - Download Data - Get exported data - Cancel Request - Cancel pending request
Request Types: - Export my data - Delete my account - Correct my data - Restrict processing - Object to processing
Cookie Preferences Tab
Manage cookie consent:
Essential Cookies (Always Active)
Analytics Cookies (Toggle: ON/OFF)
Marketing Cookies (Toggle: ON/OFF)
Functional Cookies (Toggle: ON/OFF)
Actions: - Save preferences - Reset to defaults - View cookie policy
Privacy Policy Tab
View and accept privacy policies:
Current Policy - Version: 2.0.0 - Last Updated: 2024-01-01 - Status: ✓ Accepted on 2024-01-05
Actions: - View current policy - View previous versions - Download policy (PDF) - View acceptance history
Policy History: | Version | Effective Date | Your Action | Date | |---------|----------------|-------------|------| | 2.0.0 | 2024-01-01 | Accepted | 2024-01-05 | | 1.0.0 | 2023-01-01 | Accepted | 2023-01-10 |
Marketing Subscriptions Tab
Manage all marketing communications:
Email Marketing - [ ] Newsletter - [ ] Promotional offers - [ ] Product updates - [ ] Abandoned cart reminders
Other Channels - [ ] SMS marketing - [ ] Push notifications - [ ] Direct mail
Global Actions: - Unsubscribe from all - Subscribe to all - Export subscription history
Account Data Tab
Overview of stored personal data:
Profile Information - Email: [email protected] - Name: John Doe - Date of Birth: 1990-01-01 - Account Created: 2020-01-01
Addresses - Billing addresses: 1 - Shipping addresses: 2
Order History - Total orders: 15 - Total spent: $1,250.00 - First order: 2020-02-15 - Last order: 2024-01-10
Other Data - Wishlists: 1 - Reviews: 3 - Store credit: $25.00
Actions: - Export all data (JSON/CSV) - Request deletion - Request corrections
Guest Access
Guest users can access limited features:
URL: /gdpr/guest/privacy
Available: - Submit data request - View cookie preferences - Read privacy policy
Requires Email Verification: 1. Enter email address 2. Receive verification code 3. Enter code to access
Customization
Adding Custom Sections
Create new section via plugin:
// di.xml
<type name="Qoliber\GdprPrivacyCenter\Model\SectionPool">
<arguments>
<argument name="sections" xsi:type="array">
<item name="custom_section" xsi:type="object">
Vendor\Module\Model\Section\CustomSection
</item>
</argument>
</arguments>
</type>
Custom Dashboard Template
Override: view/frontend/templates/privacy/dashboard.phtml
Custom CSS Styling
Add custom styles via theme or configuration.
Mobile Optimization
The Privacy Center is fully responsive:
- Touch-friendly toggles
- Collapsible sections
- Mobile-optimized tables
- Bottom sheet modals
- Swipe gestures
Accessibility
WCAG 2.1 Level AA compliant:
- Screen reader support
- Keyboard navigation
- ARIA labels
- High contrast mode
- Focus indicators
Best Practices
Dashboard Design
- Keep most important actions visible
- Use clear, plain language
- Provide helpful tooltips
- Show confirmation messages
- Make withdrawal as easy as consent
User Experience
- Minimize clicks to common actions
- Show progress for long operations
- Provide clear success/error messages
- Allow easy navigation between sections
- Remember last visited tab
Performance
- Lazy load sections
- Cache static content
- Paginate long lists
- Optimize database queries
- Use AJAX for toggles
Troubleshooting
Privacy Center not accessible
Check: - Module enabled - Customer logged in - ACL permissions - URL rewrite cache
Sections not showing
Verify: - Section enabled in config - Dependent modules installed - Customer has relevant data - Store view scope
Actions not working
Debug: - JavaScript console errors - Form validation - AJAX responses - Session timeout
Related Modules
- GdprPrivacyCenterHyva - Hyvä theme compatibility
- GdprConsent - Consent management
- GdprCookie - Cookie preferences
- GdprDataSubject - Data requests
- GdprPolicy - Privacy policy