Cleaning up the subscriber list¶
If the same e-mail address sits in your list several times, it goes well for a long while and then shows up unpleasantly: an unsubscription only takes effect for one of the entries, the groups are spread over several, and the statistics count one person as several.
This guide clears that up once. After that no new ones appear.
Duplicate mails are gone since 2.1.0
Since 2.1.0 the send plans one mail per address. Duplicate entries therefore no longer mean that someone receives the same newsletter twice — even without clearing up.
The other consequences remain, and they are the reason for this guide.
Not to be confused with routine care
This is about duplicate entries, a legacy. What you should do regularly — process bounces, approach dead weight, collect subscribers without a group — is in Keeping the list clean.
Where the duplicates come from¶
None of them is your fault, and all three are fixed:
| Source | Up to | What happened |
|---|---|---|
| Orders in wpShopGermany | wpsg 4.5.0 | Every order with the newsletter tick created a new subscriber without looking for the address. Someone who orders every year is in the list just as often |
| Unsubscribing through the form | wpng 1.1.4 | Unsubscribing deactivated some entry of the address, not necessarily the one meant. That is where the cases come from in which the same address is active and inactive |
| Imports | wpng 2.0.2 | Upper and lower case counted as a difference: Anke@post.test and anke@post.test became two subscribers |
How you notice¶
- Someone has unsubscribed and still gets the newsletter. That is the most serious case: the unsubscription switched off one entry, another one of the same address is still active.
- Someone is in a group you never put them in — or missing from one they should be in. The assignments hang on different entries.
- The number of subscribers is higher than your customer count allows, and the open rate looks worse than it is.
- Complaints about newsletters delivered twice — those come from before 2.1.0 and stop with the update by themselves.
1. Back up the database¶
Merging cannot be undone. The plugin asks beforehand whether you have a backup — the question is meant seriously.
How you back up depends on your host: usually there is a one-click backup in the customer area, otherwise phpMyAdmin exports the database.
Take a CSV export as well
Newsletter → Subscribers → CSV export. The file does not replace a database backup, but you can look up in it later who was in the list how many times.
2. Look at what would be merged¶
Newsletter → Configuration → Settings → Maintenance, section Duplicate subscribers.
The page shows which addresses occur more than once and how often. Read the list through before you click anything — this is where you see whether it is three single cases or a few hundred.
3. Decide the conflicts¶
If the same address sits there once active and once inactive, somebody has to decide what counts. The plugin does not do it by itself, and for a reason: an inactive row can be a real unsubscription — or a by-product of the old unsubscribing in the table above. The data does not show which.
So those cases come first, with two buttons:
| Merge, conflicts stay active | The person keeps receiving newsletters |
| Merge, conflicts become inactive | The person receives none any more |
When in doubt, inactive
Someone who unsubscribed and still gets post complains with good reason — in the worst case to the supervisory authority. Someone switched off by mistake can sign up again.
Addresses without a conflict are treated the same by both buttons.
4. Merge, more than once if needed¶
One run works for at most twenty seconds — no usual host lets it run longer. If something is left, the message says how much, and another click carries on. With a large list you click a few times.
One entry per address is kept: the active one, else the one waiting for confirmation, else the oldest.
| What the remaining entry takes over | |
|---|---|
| Groups | all of them, from every merged entry |
| Delivery log, consent log, clicks, bounces | completely, moved across with its ID |
| Empty fields | salutation, name, address and custom fields are filled from the most recent entry that has something |
What it already holds stays. Nothing is overwritten.
5. Check that it worked¶
- The number in the subscriber list. It is smaller now — by the number of deleted duplicates.
- Open one of the addresses concerned. Are all the groups there that were spread over the entries before?
- The consent log of that same person. The history has to be complete — it is your evidence that the subscription was lawful.
Waiting mails stay single
If the same mail is queued for two entries of the same address — from a send planned before the clear-up — one of them is kept and the other discarded.
So that no new ones appear¶
Since 2.1.0 the plugin takes care of that itself:
| Adding and editing in the backend | An address another subscriber already has is rejected. A message with the ID of the existing entry appears, and nothing is saved |
| Import | Existing addresses are recognised, regardless of upper and lower case |
| Subscription form | Since 2.0.1 without a new entry for a known address |
If you use wpShopGermany: bring it to 4.6.0 or newer. Older versions keep creating new entries with every order — then you clear up the same thing every month.
If you do nothing¶
It is not a disaster, but it costs you in three places:
- At the recipient. An unsubscription that does not take effect is the most common reason why someone reports a newsletter as spam — and that hits your deliverability for everybody else.
- At your end. Every duplicate counts in the statistics. Open and click rates look worse than they are.
- Legally. Someone who unsubscribed and still gets post is entitled to have it stop. That a second entry was to blame is no excuse.
