# Deleting customers and data protection

> What happens when you delete a customer, what Leal keeps, and simple habits for looking after your customers' personal details.

You can delete a customer from their profile. It removes them and their loyalty history from your store for good, so use it when someone asks you to remove their details, or to clear out a duplicate or test record. There's no undo.

## Delete a customer

1. Open the customer's profile from **Customers**.
2. Click **Delete**.
3. Confirm "Are you sure you want to delete this customer?"

You'll be taken back to the customer list with the message "Customer was successfully removed."

## What gets deleted

Deleting a customer permanently removes:

- their name, email, phone number and birthday
- every loyalty card they hold, with its stamps
- their full stamp history
- their reward redemptions
- the record of their wallet passes and the notifications sent to them
- their referral links with other customers
- any links to outside systems, such as their Square or Shopify customer ID
- their place in any campaign that's still running, so they get no further campaign messages

## What Leal keeps

- **Campaign reports.** Each campaign keeps a record of who it was sent to, including the name, email and phone number the customer had when they were added to it. This is so a campaign's report still adds up after a customer is gone. In the report, they're no longer linked to a customer profile.
- **Analytics.** Totals on the analytics page that came from this customer, such as page views and signups on your poster, aren't recalculated.
- **Other systems.** Deleting a customer in Leal doesn't delete them from Square, Shopify, your email tool or anywhere else you've sent their details. Remove them there separately.

> [!WARNING]
> If a customer has asked you to erase their personal data, deleting them in Leal is only part of the job. Also delete them anywhere you've exported or synced their details, and any CSV exports you've downloaded.

## Duplicates

If the same person is in your list twice, there's no merge button. To tidy up:

1. Decide which record to keep, usually the one with the wallet pass installed and the most stamps.
2. If the other record has stamps that should count, add them to the record you're keeping with a [manual adjustment](https://docs.getleal.com/customers/adjusting-stamps).
3. Delete the extra record.

Deleting a record whose card is in the customer's wallet means that pass belongs to a customer who no longer exists. Make sure the customer has the pass from the record you're keeping.

## Looking after customer data

Leal keeps each store's customers separate. Your team sees only your store's customers, and other stores can't see yours.

A few habits help you keep your customers' trust:

- **Collect only what you'll use.** Email or phone is required. A birthday is optional, so only ask for it if you plan to send birthday treats.
- **Answer requests quickly.** If someone asks what you hold about them, their profile shows it all. If they ask to be removed, delete them.
- **Look after exports.** Export links expire after 7 days, but downloaded files don't. Delete them when you're done.
- **Give the right people access.** Everyone on your team can see and delete customers, so only invite people who need it. See [Store](https://docs.getleal.com/store).
- **Respect unsubscribes.** See [unsubscribes and consent](https://docs.getleal.com/customers/unsubscribes-and-consent).
