GDPR and retention
What is stored
Section titled “What is stored”- The values of the fields that were shown, normalised. Hidden-by-condition values are dropped.
- Consent fields keep the text the visitor saw (all languages), the privacy page’s document id and
its Pimcore version number at that moment (
privacyDocumentVersion). - Meta data:
ip_hash, user agent, referrer,utm_*. - The raw IP address is never written anywhere (database, logs, webhooks, exports).
IpHasherturns it into an HMAC-SHA256 with the app secret (kernel.secret), so it can not be looked up by trying all addresses. The hash is only used for the per-visitor rate limit and is not shown in Studio. A test (SubmitTest::testRawIpIsStoredNowhere) dumps every table after a submit and looks for the IP. - With “store submissions” off, the values are wiped once all actions are done.
Retention
Section titled “Retention”Each form has settings.retentionDays (default 365, 0 = keep forever), taken from the live version.
Older submissions are deleted with their uploaded files, action log and opt-in tokens:
- automatically with every Pimcore maintenance run (
bin/console pimcore:maintenance, taskpimkit_forms_purge), - or by hand:
bin/console pimkit:forms:purge [--form=contact] [--dry-run].
Each run writes one audit entry per form (submissions.purged with the count), never data.
Erase (right to be forgotten)
Section titled “Erase (right to be forgotten)”- Studio: Submissions, open one, Erase. Or tick several rows (or filter) and use “Delete selected” / “Delete all matching”.
- Console:
bin/console pimkit:forms:erase --email=jane@example.comerases every submission that has a value that is exactly this address, in any field and any case.--submission=<uuid>(repeatable) erases single ones.--dry-runlists them,--forceskips the question.
Erase deletes the values, uploaded files, action log and opt-in tokens. Copies made by actions are
outside PimKit and stay: emails already sent, Assets from asset_upload, data objects from
data_object, and what webhooks delivered. The audit log notes submission.erased with the form
name and the reason (studio, email_request, console), never the values or the address.