Manage it under Customers > GDPR > Cookie Groups and Cookies. Groups match the storefront’s consent categories: necessary, analytics, marketing and preferences.
Install fills it with the cookies this stack sets (sign-in, session and language cookies) and Google’s:
Google Analytics cookies are active, matching the Tag Manager container the stack ships with. Deactivate them if you run no Tag Manager.
Google Ads / DoubleClick cookies are inactive. Activate them when you add ad tags.
When a third-party script sets its own cookie, add it here so the policy page stays accurate.
Only active cookies reach the storefront. To restore the default rows: bin/magento magenx:gdpr:seed-cookies. It never touches rows you added.
Every cookie-banner decision is recorded: customer (when signed in), IP address and the categories granted. See Customers > GDPR > Consent Log (read-only). Old entries are pruned after the retention period.
The storefront's cookie preferences. Each choice saved here is a consent-log entry.
Export their data: profile, addresses, order summary and consent history, downloaded in the browser. The export is logged.
Anonymize their data, immediately.
Request erasure, which waits for approval in Customers > GDPR > Data Requests.
Privacy page in the customer account.
Anonymizing rewrites names, emails, birth dates, tax/VAT numbers, addresses and phone numbers on the account, its addresses and its orders, including the admin order grid and the newsletter record. It also signs the customer out everywhere. Order totals and items are kept: they are the merchant’s accounting records.
The export covers this module and Magento’s core customer and sales data. Data kept by other extensions is not included unless they add it (as Rewards does).
Text. Shown when magenx_gdpr/general/enabled = Yes. How long cookie-consent log rows are kept before the daily prune cron removes them.
Dormant Account Anonymization
Setting
Default
Scope
Notes
Enabled magenx_gdpr/dormant_accounts/enabled
No
Global
Yes/No. Shown when magenx_gdpr/general/enabled = Yes. Danger: once enabled, the cron anonymizes matching customer accounts automatically. Back up the database first.
Days Since Last Order/Login magenx_gdpr/dormant_accounts/days
365
Global
Text. Shown when magenx_gdpr/general/enabled = Yes, magenx_gdpr/dormant_accounts/enabled = Yes. A customer with no order and no sign-in for this many days is anonymized by the daily cron.
Old Order Anonymization
Setting
Default
Scope
Notes
Enabled magenx_gdpr/old_orders/enabled
No
Global
Yes/No. Shown when magenx_gdpr/general/enabled = Yes. Danger: once enabled, the cron anonymizes billing/shipping names and addresses on matching orders automatically. Order totals and items are never touched. Back up the database first.
Order Age (days) magenx_gdpr/old_orders/days
730
Global
Text. Shown when magenx_gdpr/general/enabled = Yes, magenx_gdpr/old_orders/enabled = Yes. Orders older than this many days have their address PII anonymized by the daily cron.
gdprCookieGroups is public and cacheable. submitCookieConsent works for guests, since most decisions happen before sign-in; rate-limit it at your proxy or CDN. The other operations need a customer token. With the module switched off, gdprCookieGroups returns an empty list and the rest return an error.
Queries
gdprCookieGroups: [GdprCookieGroup]
The store's cookie categories and the cookies declared in each, for the cookie policy page and consent banner.
myGdprRequests: [GdprRequest]
The logged-in customer's data-subject request history. Never cached: the answer is private to the signed-in customer.
myPersonalDataExport: GdprPersonalDataExport
The logged-in customer's own profile, addresses, order summary and consent history, for download. Logs a completed export_data request. Never cached: the answer is private to the signed-in customer.
Raises a data-subject request for the logged-in customer. anonymize_data runs immediately; erase_data is queued for admin approval. Rejected while a request of the same type is still pending.
Argument
Type
Description
input
GdprRequestInput!
Types
enum GdprRequestTypeEnum - The kind of data-subject request a customer can raise.
Value
Description
EXPORT_DATA
Get a copy of my personal data.
ANONYMIZE_DATA
Replace my personal data with anonymized values, keeping the account.
ERASE_DATA
Anonymize my personal data across the account and its order history, and sign the account out everywhere. Requires admin approval.
enum GdprRequestStatusEnum - The lifecycle state of a data-subject request.
Value
Description
PENDING
Waiting for admin review (erase requests only).
APPROVED
Approved by an admin; the underlying action has run.
DENIED
Rejected by an admin.
COMPLETED
The requested action has run (export / anonymize run immediately).
type GdprCookieGroup - A cookie consent category (necessary, analytics, marketing, preferences).
Field
Type
Description
code
String
Category code.
label
String
Display label.
description
String
Explanation shown to visitors.
is_required
Boolean
Whether this category cannot be declined.
cookies
[GdprCookie]
The active cookies declared in this category.
type GdprCookie - A single cookie this store sets or relies on.
Field
Type
Description
name
String
Cookie name, or a trailing-* prefix (e.g. _ga_*).
purpose
String
What the cookie is for.
duration_label
String
How long it lives, as display text (e.g. "1 hour", "Session").
source
String
Who sets it: storefront, auth or google.
input GdprConsentInput - A visitor's choice for each non-essential cookie category. necessary is implied and always granted.
Field
Type
Description
analytics
Boolean!
marketing
Boolean!
preferences
Boolean!
input GdprRequestInput - Input for raising a data-subject request.
Field
Type
Description
type
GdprRequestTypeEnum!
note
String
Optional note from the customer. Stored as customer_note and truncated at 1000 characters.
type GdprRequest - A data-subject request and its current status.
Field
Type
Description
id
Int
type
GdprRequestTypeEnum
status
GdprRequestStatusEnum
customer_note
String
The note the customer attached when raising the request.
admin_note
String
Note recorded by the admin when approving or denying.
requested_at
String
resolved_at
String
type GdprPersonalDataExport - The logged-in customer's own data, for a client-side download.