GDPR housekeeping: is your website holding on to customer data it no longer needs?
Your website has been quietly collecting personal data for years — orders, form enquiries, bookings and donations. Under GDPR you should only keep it for as long as you need it, so now is a good time for a clear-out.
1. WooCommerce orders and customer accounts
If you sell online, every order stores a name, email, phone number and delivery address. Most shops never clear any of it out.
You do need to keep completed orders for tax purposes. Revenue generally expects business records to be kept for six years, so don’t delete recent sales. What you can clear safely is the data you have no reason to hold:
- Failed, cancelled and pending orders — these never became sales, so there is rarely a reason to keep the customer’s details.
- Old customer accounts — accounts that haven’t logged in or ordered in years.
- Abandoned cart records — if your shop sends “you left something in your basket” emails, it is storing the email addresses of people who never bought anything.
- Completed orders older than your retention period — once they are past six years, the personal details can be removed.
How to do it: WooCommerce has this built in. Go to WooCommerce → Settings → Accounts & Privacy and scroll to Personal data retention. You can set how long to keep inactive accounts and pending, failed, cancelled and completed orders. WooCommerce will then tidy them up automatically. To deal with one person’s request to be forgotten, use Tools → Erase Personal Data in your WordPress dashboard.
2. Contact and enquiry forms
Most contact forms email you a copy of each enquiry. Many also save a copy in your website’s database — sometimes going back years. That copy is easy to forget, and it can hold names, phone numbers and whatever people typed into the message box.
Ask yourself two questions:
- Do you need old enquiries on the website at all, when you already have them by email?
- If you do, how far back do you really need to go? Twelve months is plenty for most businesses.
How to do it, depending on your form plugin:
- Gravity Forms — open each form, go to Settings → Personal Data and set a retention policy, for example deleting entries after 365 days. You can also bulk-delete old entries under Forms → Entries.
- WPForms — delete old entries under WPForms → Entries. If you don’t need them stored, turn on Disable storing entry information in WordPress in the form’s settings.
- Ninja Forms — bulk-delete old entries under Ninja Forms → Submissions, or remove the Store Submission action from the form.
- Elementor forms — delete old entries under Elementor → Submissions.
- Contact Form 7 with Flamingo — Flamingo saves every message. Clear out Flamingo → Inbound Messages.
Don’t forget the email side too: old enquiries sitting in an inbox are covered by the same rules.
3. Events and bookings
Event tickets, RSVPs and appointment bookings collect personal details for a specific date. Once the event has passed or the appointment is done, most of that data has served its purpose.
Things to look at:
- Attendee lists from past events — names, emails and sometimes dietary or access needs. Unless you need them for a follow-up or a paid ticket record, they can go.
- Old appointments and booking history — booking plugins keep a customer record for everyone who has ever booked. Remove customers who haven’t booked in a long time.
- Notes and custom fields — booking forms often ask for extra details. Check whether you are collecting anything you don’t actually use, and stop asking for it.
How to do it: in Event Tickets, open each past event’s attendee list and remove attendees you no longer need. In Bookly, go to Customers to delete old customer records, and to Appointments for past bookings. For WooCommerce Bookings, past bookings are linked to orders, so follow the WooCommerce steps above.
As with orders, keep anything linked to a payment for as long as your accountant tells you to.
4. Donations and memberships
Schools, charities, clubs and studios often take donations or run memberships and online courses through their website. These hold some of the most detailed records of all: donor names and addresses, payment history, membership levels and course progress.
What to review:
- Donor records — keep what you need for your accounts and any tax relief claims. Ask your accountant how long that is, then clear out older records.
- Lapsed members — people whose membership ended years ago don’t need a live account on your site.
- Course students — learners who finished or dropped out long ago can be removed, along with their progress data.
How to do it: in GiveWP, review Donations → Donors and delete donors you no longer need. In Paid Memberships Pro and WP-Members, look at expired or cancelled members under Users or the members list and delete old accounts. In LearnDash, remove old students from their courses, then delete the user accounts you no longer need.
Before you delete anything
Take a copy of the data first eg in Word or Excel or Screenshots. Deleted data can’t be recovered without one. Agree your retention periods with your accountant, write them down and set them up once — then the website keeps itself tidy.
This article is general guidance, not legal advice. For your specific obligations, see the Data Protection Commission or speak to your solicitor or accountant.