Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Country code dropdown defaults to the wrong country: fix it

CNV-007Low impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Many lead forms put a flag and dial-code selector (+44, +1, +971) next to the phone field. This issue is when the preselected option does not match the visitor. A UK or UAE visitor sees the United States flag, or the list starts at Afghanistan because nobody set a default.

It usually happens because the form tool or phone library ships with a default (often the US or the first alphabetical entry) and nobody changed it. It can also happen when geo detection is set up but the lookup fails, or when a regional version of the page reuses the form from another market.

Why it costs you leads or sales

Visitors often type their local number and never touch the dropdown. The form then stores it with the wrong prefix. Your sales team calls a wrong number, SMS and WhatsApp follow-ups fail, and the lead looks fake. Others see a validation error they do not understand and leave.

The impact is usually low per visitor, but it is silent: the lead arrives in your CRM, so nothing looks broken. You only notice when contact rates are poor.

How a wrong default loses a lead
  1. Visitor opens formUK visitor sees +1 preselected
  2. Types local number07700 900123 with the wrong prefix
  3. Lead savedStored as +1 7700 900123
  4. Sales call or SMSNumber does not connect

The lead arrives, but the number is unusable, so follow-up is lost.

Usable phone numbers by default settingExample numbers
Usable phone numbers by default setting (example)Default +1 (wrong): 70 %; Default +44 (right): 97 %037747097Default +1 (wrong)Default +44 (right)%

Example: share of UK leads with a dialable number. Numbers are illustrative, not measured.

How to check if your site has it

Manual check
  1. Open the form in a clean browser

    Use a private window so saved autofill does not hide the default.

  2. Read the preselected country

    Note the flag and dial code before you touch anything.

  3. Repeat from each market

    Use a VPN or a colleague in each country, plus each regional page version, and compare the default with the visitor's location.

  4. Submit a test lead

    Type a local number without changing the dropdown and check how it arrives in your CRM or inbox.

How to fix it

Pick one of two approaches: a fixed default for your main market, or detection of the visitor's country. Menu names vary by plugin and version, so look for a setting called default country, initial country or preferred countries.

Set the default country by platform
  1. Open the form plugin's field settings

    In plugins such as Gravity Forms (Phone field with an intl add-on), WPForms or Contact Form 7 with a phone add-on, edit the phone field and look for Default Country.

  2. Choose your main market

    Set it, or choose the auto-detect option if the plugin offers one. Save and clear any page cache.

intl-tel-input: default to the UK, or detect by locationjavascript
const input = document.querySelector('#phone');

// Option 1: fixed default
window.intlTelInput(input, { initialCountry: 'gb' });

// Option 2: detect, with a fallback if the lookup fails
window.intlTelInput(input, {
  initialCountry: 'auto',
  geoIpLookup: (success, failure) => {
    fetch('https://ipapi.co/json')
      .then((res) => res.json())
      .then((data) => success(data.country_code))
      .catch(() => success('gb'));
  }
});
Phone field default

Before

  • US flag shown to UK visitors
  • Local numbers saved with +1
  • Sales calls fail

After

  • Default matches visitor or main market
  • Numbers saved with the right prefix
  • Follow-up reaches the lead

How to confirm it's fixed

Confirmation checklist
  • The preselected flag matches the visitor's country in each market you serve
  • Regional page versions show their own default
  • A local number typed without touching the dropdown is stored with the right prefix
  • The form still works if the geo lookup is blocked
  • The fix shows on mobile and after clearing the cache

How to prevent it happening again

Treat the default country as part of each page's setup. When you duplicate a form for a new market, change the default at the same time. After plugin updates or theme changes, reopen the form and recheck it, because updates can reset field options. Keep a short test list of countries and re-run it quarterly.

How FunnelGuard handles this

FunnelGuard does not check this yet. Asserting the selected country option for each geo variant is a possible future check, not a current feature.

What FunnelGuard does cover nearby: it runs your real lead form journey on a schedule from the EU or the US, checks each step, and confirms test leads reach the inbox and CRM. That can show a form that breaks outright, but it will not tell you the preselected country is wrong. For this issue, use the manual check above, and a test lead from each market on a regular schedule, reviewing the stored number in your CRM.

Frequently asked questions

Questions people ask

Why does my phone field show the wrong country flag?

The form tool or phone library is using its built-in default, often the US or the first country in the list, or the geo lookup failed. Set the default country in the field settings or in the initialCountry option.

How do I set a default country code in a form?

Open the phone field settings and look for Default Country or Initial Country, then choose your main market. In intl-tel-input, set initialCountry to a code such as 'gb'.

Can a form detect the visitor's country automatically?

Yes. Some plugins offer auto-detect, and intl-tel-input supports initialCountry: 'auto' with a geoIpLookup function. Always add a fallback country in case the lookup fails.

Does a wrong country code stop a lead from submitting?

Usually not. The form accepts the number, but it is stored with the wrong prefix, so calls and messages fail. Some forms also show a validation error, which makes visitors leave.

Why do UK visitors see +1 on my form?

The field is probably set to the US default, or you reused a form built for another market. Change the default country to the UK or turn on detection.

Does FunnelGuard check the default country code?

No, not yet. It is a possible future check. FunnelGuard does run your form journey and confirm test leads arrive, but you need to check the preselected country manually.

How often should I test the country default?

Check after any form, plugin or theme change, when you add a new market, and at least quarterly. Submit a test lead and compare the stored number.

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.