Is my contact form actually working? How to test it and count the leads

By the RankBarn team · · 3 min read

Short answer

Test your contact form yourself once a month: submit it from a phone and a computer, and confirm the message arrives in the right inbox and not in spam. Many missing leads come from form emails that are blocked or filtered because the website sends them without proper email authentication. Then track each successful submission as a key event in Google Analytics 4, so you can see how many leads the form brings and where they came from.

A quiet month can mean business is slow. It can also mean your contact form stopped sending messages weeks ago and nobody noticed. Forms break silently: a plugin update, a changed email password or a new spam filter, and the messages simply stop arriving. The visitor sees "Thank you," and you never hear from them.

Here is how to make sure every form lead reaches you, and how to count them.

Step 1: Send yourself a test

Fill in your own form the way a customer would. Do it twice: once on a phone using mobile data, and once on a computer. Use an email address that is not your business address, so you can see what a customer sees. Then check:

  • Did the message arrive, and how long did it take?
  • Did it land in the inbox, or in spam or junk?
  • Did it go to the person who should answer it, or to an old address nobody reads?
  • Does it include everything the customer typed, including the phone number?
  • If the form sends the customer a confirmation, did that arrive too?

Put a monthly reminder in your calendar to repeat this. It takes two minutes.

Why form emails go missing

Most website forms send their messages as email from your web server. Email providers such as Gmail and Outlook increasingly reject or hide email that cannot prove it really comes from your domain. The usual causes:

  • No email authentication. Your domain needs SPF, DKIM and DMARC records that cover whatever sends the form email. Your web host or email provider has instructions for adding them in your domain's DNS settings.
  • Sending "from" the customer's address. Some forms send the message as if it came from the visitor's email. Providers treat that as forged. Send from your own domain and put the customer's address in the reply-to field instead.
  • The server's built-in mail. Many hosts' default mail function is unreliable. A form plugin set to send through a proper email service (SMTP) is far more dependable.
  • A broken spam check. If the form uses a captcha that fails to load, real people cannot submit at all. Test on a phone to catch this.

As a backup, most form tools can also save every submission in your website's admin area. Turn that on, so a lead is never lost even if the email is.

Step 2: Count submissions in Google Analytics

Once you trust the form, count it. In Google Analytics 4, a form lead should be a key event, so it shows up next to the marketing that brought it.

The most reliable signal is the thank-you page. If your form sends people to a page such as /thank-you after they submit:

  1. In GA4, go to Admin, then Events, and click Create event.
  2. Name it generate_lead, and set the condition to event_name equals page_view and page_location contains /thank-you.
  3. After the event appears in your reports (usually within a day), go to Admin, then Key events, and mark generate_lead as a key event.

If your form shows a message on the same page instead, ask whoever manages your site to send a generate_lead event when the form submits successfully, through Google Tag Manager or the form plugin's own GA4 setting. Avoid GA4's automatic "form submit" tracking on its own: it can count attempts that failed, and miss forms that do not reload the page.

Step 3: Check the count against your inbox

At the end of the month, compare the number of generate_lead key events in GA4 with the number of form emails you received. They will not match exactly, because some visitors block analytics, but they should be close. If GA4 shows 30 leads and your inbox has 12, emails are going missing. If your inbox has many more than GA4, tracking is broken or spam is getting through.

Then see where leads come from

With submissions counted, open Reports, then Acquisition, then Traffic acquisition, and add the key event column for generate_lead. Now you can see which channels, such as search, ads, social or referrals, bring people who actually fill in the form. Many businesses get as many leads by phone as by form, so count calls too before deciding which marketing works best.