Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Signup creates duplicate accounts: how to find and fix it

CNV-294Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

A duplicate account is a second user record for the same person. It shows up in your app database, your CRM or your email tool as two rows with the same or almost the same email address.

Common causes: the user double clicks the submit button; a slow response makes them click again; a network retry sends the request twice; Jane@Example.com and jane@example.com are treated as different emails; or an email with a plus tag or trailing space is accepted as new. Social login can also create a second account next to an email account.

Why it costs you leads or sales

The impact is usually low, but it is real. Users get two verification emails and don't know which link to use. They log in to the empty account and think their data is gone. Trials and credits can be claimed twice, and your reports overcount signups.

Marketing data suffers too. Two CRM contacts can trigger two welcome sequences, and a conversion event can fire twice, inflating ad platform numbers and skewing bidding.

How a double submit becomes two accounts
  1. Fill formUser enters email and password
  2. Click twiceSlow response, button still active
  3. Two accountsBoth requests create a user
  4. Two emailsTwo verification messages, two CRM contacts

The second request is processed as if it were a new person.

How to check if your site has it

Look for duplicates in your data
  1. Query for repeated emails

    Group users by lowercase email and list any with a count above 1. Sample query below.

  2. Check created-at gaps

    If duplicates are created within a second or two, it is a double submit or retry. If days apart, it is a returning user who forgot their account or used another login method.

  3. Test it yourself

    Throttle your network in browser dev tools (Network tab, Slow 3G), then click the signup button several times. Check whether more than one account appears.

  4. Try email variants

    Sign up with Test@Example.com, then test@example.com and test@example.com (trailing space). Note which are accepted.

  5. Check your CRM

    Look for contacts with the same email or created seconds apart.

SQL to find duplicate emails (adjust table and column names)text
SELECT LOWER(TRIM(email)) AS normalised_email, COUNT(*) AS accounts
FROM users
GROUP BY LOWER(TRIM(email))
HAVING COUNT(*) > 1
ORDER BY accounts DESC;

How to fix it

The only reliable fix is a rule in the database. Front-end tweaks help, but a retry or a second tab bypasses them. Do all three layers: database, server and button.

Fix duplicate signups
  1. Normalise the email

    Trim spaces and lowercase it before saving and before any lookup.

  2. Add a unique constraint

    Add a unique index on the normalised email. Clean up existing duplicates first or the index will fail.

  3. Handle the conflict gracefully

    If the email exists, do not create a new user. Show a message such as 'You already have an account. Log in or reset your password.' For an identical retry, return the same success result.

  4. Disable the button on submit

    Disable the submit button and show a loading state as soon as the form is sent. Re-enable it only on error.

  5. Merge existing duplicates

    Keep the account with real activity, move or archive the other, and update the CRM so only one contact remains.

Unique index on lowercase email (PostgreSQL)text
CREATE UNIQUE INDEX users_email_lower_unique
ON users (LOWER(email));
Stop double submits on the formjavascript
const form = document.querySelector('#signup-form');
form.addEventListener('submit', function () {
  const btn = form.querySelector('button[type="submit"]');
  btn.disabled = true;
  btn.textContent = 'Creating account...';
});
If signup runs on a platform rather than your own app
  1. Check the registration plugin

    WordPress itself blocks a second user with the same email. If you see duplicates, a membership or form plugin is likely creating users in a custom way. Update it and look for a 'prevent duplicate' setting.

  2. Disable the button on submit

    Many form plugins have a setting to disable the submit button after click. Turn it on.

Signup behaviour

Before

  • Button stays active after click
  • Email saved exactly as typed
  • Second request creates a second user
  • Two verification emails sent

After

  • Button disabled while sending
  • Email trimmed and lowercased
  • Unique index rejects the repeat
  • One account, one verification email

How to confirm it's fixed

Verification checklist
  • Click submit several times on a throttled connection: only one account is created
  • Sign up again with a different capitalisation: you see the 'already have an account' message
  • Sign up with a trailing space: it is treated as the same email
  • The duplicate-email query returns no new rows after a week
  • The CRM shows one contact and one welcome sequence per person
  • Your signup conversion event fires once per account

How to prevent it happening again

Keep the unique index in your migrations so it survives rebuilds. Add an automated test that submits the signup request twice and expects one user. Run the duplicate query weekly, or as a scheduled report, and review it after changes to signup, SSO or your CRM sync.

How FunnelGuard handles this

FunnelGuard does not check for duplicate accounts yet. It is a possible future check, so today you need to watch for it another way.

What FunnelGuard does cover nearby: a robot visitor runs your signup journey on a schedule, checks each step, confirms the tracking hits to your ad and analytics platforms are sent, and checks that test leads reach the inbox and CRM. If signup breaks outright, you get one alert with a screenshot and a likely cause after a second-region re-check. That helps with failed signups, not with a working signup that creates two records.

To watch for duplicates, run the SQL query above on a schedule, add a database alert when the unique index rejects inserts, or set a duplicate-contact report in your CRM. A free FunnelGuard plan (1 site, 2 journeys, daily checks) can monitor the signup journey itself alongside that.

A slow signup invites a second click

The page looks stuck, so the user submits again.

Unique email ruleInteractive
No unique email rule in the database

No unique rule

Leads or data lost

A repeated or differently capitalised signup creates a second account, with two emails and two CRM contacts.

Toggle the cause to see the effect on a repeated signup.

Questions people ask

Why does my signup form create two accounts?

Most often the form is submitted twice: the user double clicks, or a slow response leads to a second click or a retried request. If the database has no unique rule on email, both requests succeed. Add a unique index and disable the button after the first click.

How do I stop duplicate user registrations?

Add a unique constraint on the normalised email in your database, trim and lowercase emails before saving, and return a friendly 'account exists' message on conflict. Also disable the submit button once the form is sent.

Are Jane@example.com and jane@example.com the same account?

In practice, yes, since email providers treat the address as the same mailbox in almost all cases. Your system should lowercase emails before saving and comparing, or users can end up with two accounts.

How do I find duplicate accounts in my database?

Group users by lowercase, trimmed email and keep rows where the count is above one. Compare created-at times: seconds apart points to a double submit, days apart to a returning user.

Can duplicate signups affect my ad conversion tracking?

Yes. If the signup conversion event fires for each account, ad platforms count two conversions for one person. Fixing the duplicate creation, and firing the event once per account, keeps the numbers accurate.

How do I merge duplicate accounts safely?

Pick the account with real activity as the primary, move or archive data from the other, and update your CRM so one contact remains. Back up first, and only add the unique index once duplicates are cleaned up.

Does FunnelGuard detect duplicate accounts?

No. FunnelGuard does not check for duplicate accounts yet; it is a possible future check. It does run your signup journey on a schedule and alerts you if the journey breaks, so use a database query or CRM report for duplicates.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.