benecaster_donor_data_erased
Fires after donation records for an email address have been processed in response to a GDPR erasure request. The flow anonymises donation rows — identity cleared, financial record (amount, currency, date) kept — rather than deleting them, and no row is removed. Use to cascade the change into external systems — a CRM, an email platform, or your own analytics — so the request is honoured everywhere, not only in Benecaster.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$email |
string |
— | Email address whose donor records were processed. |
$deleted |
int |
— | Number of donation rows anonymised. ⚠ The parameter is named `$deleted`, but nothing is deleted. |
Notes
Fires even when $deleted is 0, so a callback can treat the event as "erasure was requested and processed" rather than "rows existed."
Need this built rather than just documented? See our services →