Skip to content
MergeGuard
Install free

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

CSVA spreadsheet saved as plain text, one customer per row.
UTF-8A way of saving text so accents and symbols in names survive the import.
Overwrite existing customersA checkbox that replaces a matched customer’s data with the data in your file.
Consent per channelA separate yes or no for email, SMS and WhatsApp marketing.

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.

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.

Export your current customers, Keep the file as a backup.. Clean the file, Remove duplicate rows, fix mistyped emails, set consent per channel.. Import a small test file, Check how matching and duplicate rows behave.. Import the full file, then check again, An import can add profiles for people who already exist..Export your current customersKeep the file as a backup.Clean the fileRemove duplicate rows, fixmistyped emails, set consent perchannel.Import a small test fileCheck how matching and duplicaterows behave.Import the full file, then checkagainAn import can add profiles forpeople who already exist.
Clean first, import a small test, then check for new duplicates.

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.

One customerOne shopper
Email already in your storeExisting profile
Different email in the fileAdded by the import
A list of profiles countstwo profiles
A count of people saysone shopper
A different email in the file can add a second profile for someone you already have.

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
  1. Export what you have

    Export your current customers to a CSV as a backup before anything changes.

  2. Remove duplicates from the file

    Find rows that share an email or phone number, and decide which belong to one person.

  3. Fix mistyped emails

    Correct typos in the file, so you do not import an address nobody can read.

  4. Set consent per channel

    Fill the Accepts Email Marketing and Accepts SMS Marketing columns with yes or no from your own records.

  5. 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.

  6. Import, then check again

    After the import, look for new duplicates, because an import can add profiles that match existing ones.

Sources

Sources (4)