Playbook
Clean your Shopify customer list before a migration or campaign
Shopify’s customer import matches existing customers by email or phone number and can overwrite them, so export your list, review duplicates, fix mistyped emails and set consent per channel before you import. With the overwrite option on, all of a matched customer’s data is replaced, including the import tags.
By MergeGuard team
4 min read
On this page
A migration or a campaign sends your customer list somewhere new. Whatever is wrong with the list comes along: duplicate people, mistyped emails and consent values nobody checked. A short clean-up first costs less than repairing profiles afterwards. Keeping the list tidy like this is called list hygiene (in plain words: keeping your email list tidy: no typos, no repeats, no dead addresses).
Words in this guide
Key insight
With “Overwrite existing customers” on, all customer data is replaced, including the import tags.
What import matches on
Shopify’s import page describes matching existing customers by email address or phone number. That matching sits under the overwrite option, and the page does not say what happens to matches when that option is off. Check a small test file before a large import.
Two details decide whether a row meets an existing profile, so a row with a mistyped email, or a phone number in a different format, may miss the profile you meant it to reach.
The overwrite option
The import page offers a checkbox labeled “Overwrite existing customers that have the same email or phone number”. The page says that when it is checked, “all of your customer data is replaced, including the import tags”.
Use it for one job: replacing customer data on purpose. Back up with an export before you tick it.
Consent columns
Shopify’s import file has columns for Accepts Email Marketing and Accepts SMS Marketing, and also for WhatsApp. The page says you can enter only yes or no. Each value is your statement about that customer’s email marketing consent (in plain words: whether a shopper has agreed to marketing emails or texts), so take it from the records in your old platform.
For example: A made-up import row: Email is ann@example.com, Accepts Email Marketing is yes and Accepts SMS Marketing is no. Worked example (made up) The yes or no is set per channel, so a customer can accept email and decline SMS.
Consent connects to merging. Shopify says that if a customer is subscribed to email and SMS marketing in one profile but not the other, the merged profile is subscribed. So if an import leaves one person on two profiles and you merge them later, one subscribed profile subscribes the merged customer. Laws about consent differ by country, so check your own.
Why did my Shopify customer import fail or skip customers?
A Shopify customer import gives an error when the CSV has no Email column. Shopify’s import page also says customers with a duplicate email address or phone number are skipped, though another line on the same page says the last duplicate is imported.
What the page requires of the file:
- Format. UTF-8 and 15 MB or smaller.
- Email column. It must be present even if the value is blank. If the column is missing, the import fails with an error.
The page’s two statements about duplicate rows do not agree: one says duplicates are skipped and not tagged, and another says only the last duplicate profile is imported. Do not rely on either. Remove duplicates from the file first, and check what your import does with duplicate rows on a small test.
Shopify’s import page does not mention a Customer ID column or an ID-not-found error, so this guide cannot explain that message. Copy the exact error text, and ask Shopify Support what it means.
A pre-flight checklist
Export your current customers
Keep the CSV as a backup you can read.
Remove duplicate rows
Group rows that share an email or phone number, and decide which are one person.
Fix mistyped emails
A typo you import is a contact nobody can reach.
Set consent per channel
Use yes or no from your own records, one column per channel.
Decide on overwrite
Leave it off unless you want matched customers replaced.
Test with a small file
Check how matching and duplicate rows behave before the full import.
Import only what you need
The UK data protection guidance says you must not collect personal data on the off-chance that it might be useful. It also says to delete anything you no longer need.
After the import
An import can add profiles for people who already exist, for example when an email in the file differs from the one in the store. The person then sits on two profiles, and a list counts them twice.
Run the count in how to find duplicate customers in Shopify again after the import, and compare it with the count you took before. If you are handing the store to someone else, customer records at a Shopify store handover sets out what to leave in the handover document. Migration specialists who introduce merchants to MergeGuard can read about the MergeGuard affiliate program.
What not to assume
- The import fixes duplicates. It matches by email or phone number only.
- Your email platform’s list and Shopify’s list agree after a migration. Compare them.
- You can merge first and check later. A merge in Shopify is permanent, so plan merges after you have checked the imported profiles.
For the rules, read how to merge customers in Shopify.
Step by step
Step-by-step list
Export what you have
Export your current customers to a CSV as a backup before anything changes.
Remove duplicates from the file
Find rows that share an email or phone number, and decide which belong to one person.
Fix mistyped emails
Correct typos in the file, so you do not import an address nobody can read.
Set consent per channel
Fill the Accepts Email Marketing and Accepts SMS Marketing columns with yes or no from your own records.
Check the file format
Use UTF-8, keep the file at 15 MB or less and keep the Email column, even if some values are blank.
Import, then check again
After the import, look for new duplicates, because an import can add profiles that match existing ones.
Sources
Related
- How to find duplicate customers in ShopifyShopify’s help pages describe no duplicate finder. Export your customers, group them by phone, email and address, and count duplicates before you merge.
- Email typos in Shopify: how a mistake becomes a second customerA mistyped email can leave a shopper on a second Shopify profile and out of your sends. See how typos form, what they cost and the right order to fix them.
- How to merge customers in Shopify: the complete rulesShopify merges two profiles at a time, combines their data, keeps the profile tied to the email you choose and can’t reverse it. The rules and choices.
