Skip to content
Digital Marketing

Thank-You Page Tracking: Count Real Enquiries Only

A thank-you page is one of the most dependable ways to count form leads, provided refreshes, search visits and bookmarks are kept out of the count.

7 sections · 7 min read
In this article · 7 sections

You set your contact form to send people to a thank-you page, and someone told you that page is now your conversion. A few weeks later the numbers look strange. GA4 shows more thank-you page visits than you had enquiries, and a couple of them came from Google search, which should be impossible.

Thank-you page tracking is one of the most dependable ways to count leads, but only when the page is protected from the visits that are not real submissions. This post explains why the method works, how visitors reach the page without filling in the form, and how to record it in GA4 and Google Ads so each count means a real enquiry.

Why thank-you page tracking is so dependable

Most ways of tracking a form rely on listening for something inside the page: a click, a message appearing, an event fired by the form plugin. Each of those depends on code you do not control, and a plugin update can change it overnight.

A thank-you page turns the result into a simple page view at a known address. Every analytics and ad tool can count page views without extra setup. The redirect only happens after the form accepts the submission, so failed attempts are left out by design.

There are other benefits that have nothing to do with tracking. You can tell the person what happens next, show your phone number in case it is urgent, and offer something useful to read while they wait. Building the page and pointing each form plugin at it is covered in our post on creating a thank-you page for WordPress forms. This post is about the measuring side.

How people reach a thank-you page without submitting anything

Every one of these produces a page view that looks exactly like a conversion unless you plan for it:

  • Refreshing. A visitor reloads the page, or their phone reopens the tab later.
  • Browser history and bookmarks. Someone returns to the page from history to find your number again.
  • Search results. If the page is indexed, people can land on it from Google.
  • Your own menus and sitemap. Page builders and SEO plugins sometimes add every new page to a menu or the XML sitemap automatically.
  • Internal search. Your site’s own search box can list the page.
  • Staff and developers. People testing or editing the page count too, unless internal traffic is filtered.

Protecting the thank-you page

Keep it out of search and navigation

  1. Mark it noindex using your SEO plugin’s settings for that page, which asks search engines to leave it out of results.
  2. Exclude it from the XML sitemap. Most SEO plugins remove noindexed pages automatically, but check the sitemap file to be sure. If you have never looked at yours, our post on sitemaps in WordPress shows where it lives.
  3. Remove it from menus, footer links and widgets.
  4. Exclude it from your site’s internal search results if your theme or a plugin allows that.

Leave robots.txt out of it. Adding a disallow rule for the address backfires, because a crawler that is blocked cannot read the noindex instruction, and the address can still appear in results.

Give it an address that is hard to stumble on

A plain address such as /thank-you/ is easy to guess and easy to share by accident. Something more specific, such as /quote-request-received/, is clearer in reports and less likely to be visited directly. Use a separate address for each form type you want to tell apart, such as quote requests and callback requests.

Only count visits that came from the form

In Google Tag Manager, the trigger for your conversion tags can check more than the page address. A common safeguard is to require that the referring page is on your own website. A visit from search, a bookmark or a typed address usually arrives without your site as the referrer, so it is ignored.

Some setups go further and have the form add a one-time value to the redirect, which the tag checks before firing. That is more work and needs testing, but it closes most of the remaining gaps.

Recording a thank-you page conversion in GA4

There are two practical approaches.

Create an event from the page view

In GA4’s admin area, under events, you can create a new event based on an existing one. The rule is along the lines of: when event name equals page_view and page location contains your thank-you address, create an event called generate_lead. Then mark generate_lead as a key event.

This needs no changes to the website, which makes it a good choice when GA4 is installed by a plugin and you cannot easily edit tags. It does not apply the referrer safeguard, though, so the protections above matter more.

Send the event through Google Tag Manager

Create a GA4 event tag named generate_lead, triggered by a page view trigger that matches the thank-you address and your own domain as referrer. Add a parameter for the form type if you use more than one thank-you page. Mark the event as a key event in GA4 once it has arrived at least once.

Whichever you choose, use only one. Running both produces two events per enquiry.

Recording it in Google Ads

If you run Google Ads, the same thank-you page can feed its conversion tracking in one of two ways: importing the GA4 key event you just created, or firing a Google Ads conversion tag through Tag Manager on the same trigger. Google Ads can also create a conversion from a page address directly when the Google tag is on your site.

Pick one route per enquiry type and set the count option to one conversion per click, which suits leads. Two routes both set as primary is a frequent cause of inflated lead numbers, covered in our post on duplicate conversions and how to find them.

Checking the numbers make sense

A thank-you page should be visited about as often as you receive form enquiries, and almost never from anywhere except your own forms. Once a month, look at it in GA4 with these questions:

  • Do the totals roughly match your inbox? A thank-you page with clearly more visits than messages received needs investigating.
  • Where did the sessions start? Add session source and landing page. Sessions that landed directly on the thank-you page from search or with no referrer are the leaks.
  • Are views per session above one? Repeat views in the same session suggest refreshes being counted.
  • Did anything change on the site? A new form plugin or a redesign can quietly switch the form back to an in-page message, and the thank-you page stops being visited at all.

For the wider comparison of tracking methods, including when the form plugin’s own success signal is the better choice, see our post on tracking form submissions reliably. And for where lead counts fit into a monthly review, read measuring your marketing as a small business.

Frequently asked questions

Does thank-you page tracking still work when visitors decline cookies?

It depends on your consent setup. If tags are blocked until consent, declined visitors are not recorded at all. With Google’s consent mode in its advanced form, Google tags send limited signals without cookies and some conversions are modelled. Either way, your inbox remains the true count of enquiries.

Does a thank-you page slow down the enquiry for the visitor?

Only by one page load, which on a reasonably fast site is barely noticeable. The page also gives you room to confirm what happens next and show a phone number, which many visitors find more reassuring than a short message inside the form.

How do I stop my own tests from counting as conversions?

Define your office or home connection as internal traffic in GA4’s data stream settings and activate the internal traffic filter. Test new tags in Tag Manager’s preview mode, which marks the traffic as debug. For Google Ads, avoid clicking your own ads; open the site directly when testing.

Should the thank-you page have tracking for ad platforms other than Google?

If you run Meta ads, the same page can trigger the Meta Pixel’s lead event, through Tag Manager with the same referrer safeguard. Keep the event names and triggers consistent across platforms, and test each one so a single enquiry is not counted twice by any of them.

A well-protected thank-you page is often all a small service business needs to count its enquiries honestly. If you want yours checked, or set up alongside GA4 and Google Ads, our conversion tracking setup covers it. The other channels it supports are described in our small business digital marketing guide.

Next in this series: Call Tracking Numbers: Track Phone Calls From Marketing

Is Your Website Working Properly?

Get a free website health check from WebMaintor. We'll review your website's speed, security, forms, and technical health — and tell you exactly what needs attention.

No obligation. No automated reports. A real review by our team.