A Shopify Customer Data Cleanup Checklist

By The Twinfold teamPublished Updated 10 min read
Short answer

A Shopify customer data cleanup works best in a fixed order: export a backup of all customers with tags, merge duplicate profiles, delete profiles that have no orders and no value, fix names and tags with bulk editing, then review email and SMS marketing consent with customer segments. Merges and deletions can't be undone in Shopify, so the export comes first.

Key takeaways
  • Export all customers with tags before a cleanup, because Shopify customer merges and deletions can't be undone.
  • Shopify can't delete a customer profile that is associated with any order or has ever had a subscription; merging is the cleanup route for those.
  • Shopify's bulk editor changes first name, last name, tags, marketing consent and metafields; addresses and phone numbers need a CSV or one profile at a time.
  • Customer segments such as number_of_orders = 0 AND customer_added_date < -12m isolate old profiles that never bought.
  • Shopify's customer CSV export is downloaded directly for up to 50 customers and emailed for larger exports.

A Shopify customer data cleanup is a short list of jobs done in a deliberate order: back up the list, merge duplicate profiles, delete the profiles you don't need, fix names and tags in bulk, and then review marketing consent. The order matters because Shopify's merges and deletions can't be undone, and because every duplicate you merge first is one fewer profile to retag later. Most stores can get through it in an afternoon with nothing but the Shopify admin.

This checklist covers each step, the exact Shopify screens and limits involved, and the segment queries that do the finding for you. It assumes you're working in Customers in the Shopify admin and that you can export a CSV.

What does a Shopify customer data cleanup involve?

It involves six steps: backup, duplicates, deletions, names and tags, marketing consent, and a final export to compare against next time. Each one uses a different Shopify tool, and each has limits worth knowing before you start.

StepWhat you're fixingWhere in ShopifyMain limit
1. Back upNothing yet; this is your safety copyCustomers > ExportFiles are capped at 15 MB; large exports arrive by email
2. Merge duplicatesOne person with two or more profilesMore actions > Merge customerTwo profiles at a time; can't be undone; some profiles are blocked
3. DeleteTest profiles, junk sign-upsMore actions > Delete customerNot allowed if the profile has any order or ever had a subscription
4. Names and tagsInconsistent names, stale tagsEdit customers, Add tags, Remove tagsBulk editing doesn't cover addresses or phone numbers
5. Marketing consentWrong subscribe status, bounced emailsCustomer segments, Edit marketing settingsSegment queries allow up to 10 clauses
6. Final exportA record to compare next quarterCustomers > ExportSame as step 1

The rest of this post takes the steps in that order.

Step 1: How do you back up Shopify customer data before a cleanup?

Export every customer, with tags, to a CSV before you change anything. Shopify has no undo for merges or deletions, so this file is the only record of what profiles looked like before.

  1. From your Shopify admin, go to Customers.
  2. Click Export.
  3. Choose All customers.
  4. Under Fields included, check Customer tags, and check Customer metafields if you use them.
  5. Choose CSV for Excel, Numbers, and other spreadsheet programs.
  6. Click Export customers.

Shopify's help docs say exports of up to 50 customers download in your browser, while larger exports are emailed to you. If you aren't the store owner, the file also goes to the owner's email address. Exported files are limited to 15 MB, which is a lot of customers, but very large stores may need to export by segment instead of all at once. Our guide on how to export customers from Shopify covers each export option, every column in the file, and how to open it without losing leading zeros.

Keep the file somewhere you'll find it in three months. It includes the Total Spent and Total Orders columns, which make it easy to sort profiles by value before you decide what to merge or delete. Note that those two columns are export-only; Shopify doesn't import them.

Step 2: How do you find and merge duplicate customers?

Find profiles that belong to the same person, then merge each pair so their orders, addresses, tags and notes end up on one profile. Do this before any tag or consent work, so you don't fix the same person twice.

Duplicates usually come from guest checkouts, POS sales, imports and people using different email variants. A sorted export catches the obvious ones: sort by email in lowercase, then by phone, then by last name. Our guide on how to find duplicate customers in Shopify walks through the spreadsheet method in detail.

Shopify's own merge works on two profiles at a time:

  1. Open one of the profiles.
  2. Click More actions > Merge customer.
  3. Under Find a customer to merge with, search by name, email or phone and select the duplicate.
  4. Review the Merged customer section and choose which contact details to keep.
  5. Click Merge, then Confirm.

You can also select two profiles in the customer list and choose Merge customers from the menu next to Edit customers. To merge three profiles, repeat the merge with the result.

Three things to check before you confirm:

  • Merges can't be reversed. Shopify says so plainly, and the customer isn't notified.
  • Tags and notes have limits. The combined tags must be 250 or fewer and the combined note 5,000 characters or fewer, including spaces. See what happens to tags, notes and marketing consent in a merge for how to stay under them.
  • Some profiles are blocked. Shopify won't merge a profile that has ever had a subscription contract, has a vaulted credit card, has a store credit account, is linked to a B2B company, or has a data request in progress, among other cases. Set those aside for now.

Step 3: Should you delete old customer profiles in Shopify?

Delete only profiles you're sure have no value, and expect Shopify to refuse many of them. Shopify won't delete a profile that's associated with any order, and deletion can't be undone.

According to Shopify's help docs, a customer profile can't be deleted when:

  • the customer is associated with one or more orders,
  • the customer has ever had a subscription,
  • the customer has a pending redaction because of a GDPR erasure request, or
  • the customer is the recipient of a scheduled gift card that hasn't been delivered yet.

That leaves a fairly narrow group of good candidates: test profiles your team created, abandoned sign-ups that never ordered, and obvious junk from form spam. A segment does the finding. In Customers, build a segment with a query such as:

number_of_orders = 0 AND customer_added_date < -12m

That returns profiles added more than 12 months ago with no orders. Scan the list before acting on it. A profile with no orders might still be an email subscriber you want to keep, so you may want to add AND email_subscription_status != 'SUBSCRIBED' to leave subscribers out.

To delete in bulk, select the profiles, click the menu next to the bulk edit button, and choose Delete customers. Shopify deletes only the profiles it's allowed to delete and leaves the rest in your list, so a bulk delete won't fail outright if a few profiles have orders.

Deleting also redacts the customer's personal data, such as name and address, from Shopify's records. That's different from a data erasure request, which redacts personal details but keeps the profile and its order history in your admin. If a customer asks to be forgotten, use the erasure process, not deletion. For a profile-by-profile decision, see when to delete, merge or erase a Shopify customer.

Step 4: How do you fix customer names and tags in bulk?

Use Shopify's bulk editor for names and tags, and a CSV for anything else. Shopify's help docs list the fields the bulk editor can change: first name, last name, tags, accepts email marketing, accepts SMS marketing, accepts WhatsApp marketing, and customer metafields. Address lines, phone numbers and tax exempt status need to be edited one profile at a time or through a CSV.

To edit tags across many profiles:

  1. Go to Customers and select the profiles. The list shows up to 50 per page; to act on more, select the Customer name checkbox and click Select all 50+ customers in this segment.
  2. Click the menu next to Edit customers.
  3. Click Add tags or Remove tags, enter the tags, and click Save.

To fix names, select the profiles, click Edit customers, use Columns to show First name and Last name, correct them in the grid, and click Save. This is the quickest way to fix all-caps names from POS or a name typed into the wrong field.

Tag cleanup is worth an hour on its own. Look for:

  • Leftovers from uninstalled apps. They still count toward the 250-tag merge limit.
  • Case variants. Shopify treats tags as not case sensitive, so VIP and vip are the same tag, but mixed spellings like V.I.P. are not.
  • Expired campaign tags. A tag like bfcm-2023 rarely drives a segment any more.

For fields the bulk editor can't reach, export, edit and re-import with Overwrite existing customers that have the same email or phone number. Read updating existing Shopify customers with a CSV import first: an overwrite replaces the whole profile with what's in the file, including tags, so a blank column can wipe data.

Use segments to find profiles whose consent looks wrong or whose emails no longer deliver, then correct them. Consent is the part of a cleanup with real consequences: mailing people who opted out hurts deliverability and breaks the trust you need to keep the list.

Useful checks:

  • Merged profiles. Shopify's merge rule is that if a customer is subscribed to email or SMS on one profile but not the other, the merged profile is subscribed. After step 2, review any merged profile where one side had opted out, and fix it with Manage > Edit marketing settings.
  • Bounces. If you send with Shopify Email, shopify_email.bounced MATCHES () finds customers whose email bounced in any Shopify Email campaign.
  • Spam complaints. shopify_email.marked_as_spam MATCHES () finds people who reported an email as spam. They shouldn't stay subscribed.
  • Imported lists. If you imported contacts, Shopify's guidance is to set the import's consent columns to no for anyone who unsubscribed, never opted in, marked mail as spam or bounced on the old platform.

To change consent for many profiles at once, select the segment, click Edit customers, add the Accepts email marketing or Accepts SMS marketing column, and change the values. Only unsubscribe people based on evidence like the checks above; don't subscribe anyone in bulk without a record that they agreed.

Which segment queries help with a customer cleanup?

A handful of saved segments do most of the finding. These use attribute names from Shopify's segment query language; conditions in quotes are case sensitive.

GoalSegment query
Old profiles that never orderednumber_of_orders = 0 AND customer_added_date < -12m
Same, but not email subscribersnumber_of_orders = 0 AND customer_added_date < -12m AND email_subscription_status != 'SUBSCRIBED'
Lapsed customers to review, not deletelast_order_date < -2y
Common email domain typoscustomer_email_domain = 'gmial.com' OR customer_email_domain = 'gmail.co'
Bounced Shopify Email addressesshopify_email.bounced MATCHES ()
Spam complaintsshopify_email.marked_as_spam MATCHES ()
Disabled customer accountscustomer_account_status = 'DISABLED'
Profiles with a tag you're retiringcustomer_tags CONTAINS 'bfcm-2023'

The domain typo segment is worth a look in most stores. Each typo profile is usually a real customer whose order emails never arrived, and often a duplicate of a correctly spelled profile created on their next visit. Fix the email on the profile, then check for a second profile under the right address and merge the two.

Save each one as a segment so the next cleanup starts with the queries already built.

How often should you clean up Shopify customer data?

Once a quarter suits most stores, plus an extra pass after anything that creates profiles in bulk: a CSV import, a platform migration, or a busy sales season with a lot of POS traffic. The first cleanup takes the longest. After that, the saved segments and last quarter's export make it a much shorter job.

A simple routine:

  • Every quarter: export, check for duplicates, review the consent segments.
  • Twice a year: review the no-order segment for deletions and retire stale tags.
  • After every import or migration: check the imported tag for duplicates before you send any campaign.

For a ready-made version with saved segments and a scorecard, see our quarterly customer list hygiene routine for Shopify.

Comparing exports is the quickest way to spot a source that keeps producing bad data. If the same POS location or sign-up form shows up in every quarter's duplicate list, fix the source, not just the records.

How Twinfold helps

Twinfold is a Shopify app by NewClick (independent, not made by Shopify) that handles step 2 of this checklist. Scan for duplicates reads your whole customer list and groups profiles that match on an email variant (including Gmail dots and plus addresses), the same phone, or the same name and address. Scanning is free on every plan.

You review each group, choose the profile to Keep as main profile, and every merge is previewed with Shopify before you confirm it, up to 250 groups per run. Merges run through Shopify's own customer merge, so the same rules apply: they can't be undone, and Shopify refuses some merges, which Twinfold shows with the reason. Twinfold doesn't delete profiles, edit tags outside a merge, or change marketing consent, so steps 3 to 5 stay in the Shopify admin.

Back up first, merge before you edit, and save the segments. Those three habits make the next cleanup a short one.

Frequently asked questions

How do I clean up my customer list in Shopify?

Work in order: export all customers with tags as a backup, merge duplicate profiles, delete profiles you don't need and Shopify allows you to delete, fix names and tags with bulk editing, then review marketing consent using customer segments. Doing merges before tag fixes means you only edit each person once.

Can I delete customers who have placed orders in Shopify?

No. Shopify's help docs say a customer profile can't be deleted if it's associated with one or more orders. It also can't be deleted if the customer has ever had a subscription, has a pending GDPR erasure, or is waiting on a scheduled gift card. If the profile is a duplicate, merge it into the right profile instead.

Does deleting old customers in Shopify improve anything?

It shrinks the customer list and removes people from segments and exports, which makes counts and campaigns easier to read. Deleting is permanent and Shopify redacts the person's personal data, so only delete profiles you're sure you don't need, such as test profiles or abandoned sign-ups with no orders.

How often should a Shopify store clean its customer data?

Quarterly suits most stores, with an extra pass after any import, migration or busy sales season. Stores with heavy POS traffic or frequent CSV imports may want a monthly duplicate check, since those are the biggest sources of new duplicate profiles.

Sources

  1. Shopify Help Center: Managing customers
  2. Shopify Help Center: Importing and exporting customer lists
  3. Shopify.dev: Segment query language reference