Skip to content

GDPR and retention

  • 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). IpHasher turns 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.

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, task pimkit_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.

  • 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.com erases every submission that has a value that is exactly this address, in any field and any case. --submission=<uuid> (repeatable) erases single ones. --dry-run lists them, --force skips 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.