Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Slow form submit response (over 5 s): how to find and fix it

PRF-063Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

A form submit is slow when the time between clicking the button and seeing a thank-you message or confirmation is over 5 seconds. The browser sends your data to a form handler (a plugin, a script or an API endpoint). That handler does its jobs and only then replies.

Typical jobs inside that wait: saving the entry, sending the notification email, sending an auto-reply, pushing the lead to a CRM, calling a webhook, and verifying a spam token. If any one is slow, the visitor waits for all of it.

This is different from a slow page load. The page may be fast, and only the POST request after the click is slow. It is also different from a timeout (a 504 error), where the server gives up. Here the form eventually works, just too slowly.

Why it costs you leads or sales

People expect a response within a second or two. After that they wonder whether the click worked. Some click again and create duplicate leads. Some close the tab before the request finishes, so the lead or the conversion tracking hit is lost. Some on mobile networks hit a browser or proxy timeout and see an error even though the server was still working.

Tracking suffers too. Many setups fire the conversion event only after the success message appears. If the visitor leaves before that, the ad platform never sees the conversion, and your reported results drop below the real ones.

Where a slow submit loses the lead
  1. Click SubmitForm data is sent
  2. Server workSMTP, CRM call, spam check take over 5 s
  3. Thank-you pageVisitor has already left or double clicked
  4. Conversion tagNever fires

The visitor waits while the server does slow work, so later steps never happen.

Submissions completed by response timeExample numbers
Submissions completed by response time (example)Under 1 s: 97 % of clicks completed; 3 s: 92 % of clicks completed; 6 s: 80 % of clicks completed; 10 s: 65 % of clicks completed0377497928065Under 1 s3 s6 s10 s% of clicks completed

Example: illustrative numbers showing how completed submissions can fall as the wait grows.

How to check if your site has it

Measure the submit request
  1. Open DevTools

    In Chrome, press F12 and open the Network tab. Tick Preserve log.

  2. Submit a test lead

    Fill in the form with a test name and an email you control, then click Submit.

  3. Find the request

    Look for the POST request (often admin-ajax.php, /wp-json/, a form endpoint or a page URL). Filter by Fetch/XHR if needed.

  4. Read the timing

    Click the request, open the Timing tab. A large Waiting for server response value means the server is slow. Over 5 seconds is the problem.

  5. Repeat a few times

    Test at different times of day and on mobile data. Slow third-party calls are often intermittent.

Time a form POSTbash
curl -s -o /dev/null -w "TTFB: %{time_starttransfer}s  Total: %{time_total}s\n" -X POST https://example.com/form-endpoint -d "name=Test&email=test@example.com"

How to fix it

First find which job is slow. Turn off the notification email, CRM push and webhook one at a time on a test form, and time the submit again. When the time drops, you have found the culprit.

Fix the slow step
  1. Fix slow email sending

    Replace PHP mail or a slow SMTP host with a transactional email service or a properly configured SMTP login. Check the SMTP host, port and encryption match what your provider requires.

  2. Move third-party calls to the background

    CRM pushes, webhooks and auto-replies should run in a queue or after the response is sent, not before it. Many form tools have an async or queued option.

  3. Set short timeouts

    Give outbound calls a timeout of a few seconds so one slow service cannot hold the visitor.

  4. Show instant feedback

    Disable the button and show a loading state on click, so people do not submit twice while they wait.

  5. Fix the server

    If the wait is in your own code, check slow database queries, a heavy spam plugin and low PHP memory or workers. Ask your host for slow request logs.

Where to change it on your platform
  1. Check the mail setup

    Install an SMTP or transactional email plugin and send a test from its settings. Slow mail is the most common cause.

  2. Review form add-ons

    In your form plugin, check integrations (CRM, Zapier-style webhooks). Disable them one by one to find the slow one.

  3. Trim spam checks

    If you use several anti-spam layers, keep one. Remote spam-check services add network time.

Example: short timeout on an outbound call (WordPress)php
$response = wp_remote_post( $crm_url, array(
  'timeout' => 4,
  'body'    => $payload,
) );
if ( is_wp_error( $response ) ) {
  error_log( 'CRM push failed: ' . $response->get_error_message() );
}
Submit flow before and after

Before

  • Server sends email, calls CRM, then replies
  • Visitor waits 6 to 10 seconds
  • Double clicks create duplicates
  • Some visitors leave before the thank-you page

After

  • Entry saved and reply sent in under 2 seconds
  • Email and CRM run in the background
  • Button shows a loading state
  • Thank-you page and conversion tag fire reliably

How to confirm it's fixed

Confirmation checks
  • The submit request shows under 2 seconds of waiting in the Network tab, on several tries
  • The thank-you message or page appears right after the click
  • The test lead still arrives in the inbox and the CRM
  • Only one entry is created per submit, with no duplicates
  • The conversion event fires on the thank-you step
  • The result holds on a mobile connection

How to prevent it happening again

Slow submits usually come back when someone adds a new integration, changes the email provider or the host gets busier. Time the submit after every such change. Keep a budget, for example a target of under 2 seconds, and treat 5 seconds as the point where you must act.

Habits that keep it fast
  • Time the form after adding any plugin, app or integration
  • Keep email, CRM and webhooks out of the visitor's wait
  • Use short timeouts on outbound calls
  • Review hosting resources if traffic grows
  • Run a scheduled test submit so you see regressions early

How FunnelGuard handles this

FunnelGuard detects this only partly. A robot visitor runs your form journey on a schedule and checks each step. It flags a duration anomaly: when a submit step takes much longer than it normally does for that journey, you get an alert with a screenshot and a likely cause. A failure is re-checked from a second region first.

What it does not do: there is no fixed budget, so it does not alert simply because a submit crosses 5 seconds. If your form has always been slow, the slow time becomes the normal baseline and may not be flagged. It also does not tell you which inner step (SMTP, CRM, spam check) is slow.

To cover the rest by hand, time the submit in DevTools as shown above, test with one integration off at a time, and re-check after each change. FunnelGuard still checks that the test lead reaches your inbox and CRM, and that conversion tracking hits are sent, so it catches the cases where slowness turns into lost leads. You can start with the Free plan (1 site, 2 journeys, daily checks, no card) or try a paid plan free for 3 days.

Questions people ask

Why is my form taking so long to submit?

The server is probably doing slow work before it replies, such as sending email over SMTP, calling a CRM or webhook, or checking spam. Time the POST request in your browser's Network tab, then turn off integrations one at a time to find the slow one.

How long should a form submit take?

Aim for under 2 seconds from click to confirmation. Anything over 5 seconds is likely to cause double clicks, abandoned tabs and lost conversion tracking.

Why does my WordPress contact form spin for a long time?

The most common cause is slow mail sending, either PHP mail or a poorly configured SMTP login. Other causes are CRM add-ons, remote spam checks and an overloaded host. Set up an SMTP or transactional email plugin and test again.

Can a slow form submit lose me leads?

Yes. Visitors may click twice, leave before the thank-you page or hit a browser timeout. This can create duplicate entries, missing entries and missing conversion events in your ad platforms.

How do I make a form respond faster?

Save the entry and reply straight away, then send emails and push to the CRM in the background. Add short timeouts to outbound calls and show a loading state on the button.

What is the difference between a slow form submit and a form timeout?

A slow submit eventually works but takes too long. A timeout, such as a 504 error, means the server or gateway gave up before it finished. Both need fixing, but timeouts usually point to a harder limit being hit.

Does FunnelGuard alert me when a form takes over 5 seconds?

Only partly. FunnelGuard flags a duration anomaly when a submit step takes much longer than usual, but it has no fixed budget such as 5 seconds. Check the timing by hand to catch a form that has always been slow.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: duration anomaly; no budget.

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.