Thank You Page, Fungsi, Isi, Tracking, dan Pengaturan Teknis

Thank you page adalah halaman yang dilihat pengguna setelah menyelesaikan suatu tindakan, seperti mengirim formulir atau memesan. Halaman ini mengonfirmasi tindakan, menjelaskan langkah berikutnya, dan sering memicu pelacakan konversi, meski page view saja tidak membuktikan tindakan berhasil.
Marketing Fundamentals Awareness StageB2C Marketing (Business-to-Consumer)Benefit-Driven Marketing
Thank You Page, Fungsi, Isi, Tracking, dan Pengaturan Teknis - Arfadia

A thank you page is the page a user sees after completing an action, such as submitting a form or placing an order. It confirms the action, explains what happens next, and often triggers conversion tracking, though a page view alone does not prove the action succeeded.

That last clause shapes this entry. The same page does two jobs for two audiences. For the person who just paid or signed up, it works as a receipt. For the marketing team, it is often a tripwire that fires a conversion tag, and most thank you page problems sit in the gap between those two jobs.


What a Thank You Page Does

Government design guidance describes the job most clearly. The GOV.UK Design System says its confirmation page pattern exists to let users know they have completed a transaction, and the NHS service manual describes the same page as a way to show users they have completed a task. Neither source uses the phrase "thank you page."

Confirms the Action Went Through

Confirmation comes first. The NHS pattern opens with a heading that states what the user has done, because everything else on the page, from next steps to a related link, only makes sense once the person believes the main action worked. A practical consequence follows from that ordering, and it is an inference rather than a rule from any single source. The page should appear only after the underlying operation has succeeded, since a confirmation shown before an order is saved misleads the user and the analytics at the same time.

Tells the User What Happens Next

GOV.UK lists what happens next, and when, as a required element. That could be an email, a callback, or a delivery window. GOV.UK also flags an open research question about transactions that form one step in a longer task, where the next step might need more emphasis than the completion itself, and it presents this as unsettled.

Serves as a Receipt

Users keep these pages. GOV.UK notes that some users bookmark the confirmation page as a receipt and advises letting them return to it where possible. A page people revisit on purpose will also load more than once.


Thank You Page, Confirmation Page, or Inline Message

A thank you page does not need its own URL. The forms tutorial from the W3C Web Accessibility Initiative describes several ways to confirm a submission, including the main heading and page title (its example reads "Thank you for submitting your order."), a dialog, and inline feedback beside the form. Only one of these loads a new page.

The choice changes tracking. For single-page or AJAX flows with no new page load, Google Analytics help documentation recommends sending a page_view event with its own page_location for each virtual step, so the confirmation state can still be measured (vendor documentation). The labels overlap too, with "confirmation page" used by the UK government design systems and "thank you page" common in marketing.

Keep this page distinct from a pre-conversion landing page. A landing page exists to win the action. A thank you page begins once it is done.

The GOV.UK Design System says confirmation pages must include six elements, from a reference number to a saveable record such as a PDF, in UK government design guidance verified in November 2026. A checklist of the six elements GOV.UK says its confirmation pages must include: a reference number if there is one, what happens next and when, contact details for the service, links to information or services the user is likely to need next, a link to a feedback page, and a way to save a record of the transaction, such as a PDF. Source: GOV.UK Design System, Confirmation pages, UK government design guidance, verified November 2026. https://design-system.service.gov.uk/patterns/confirmation-pages/ What a GOV.UK confirmation page must include Six elements from the GOV.UK Design System confirmation page pattern 1 A reference number, if there is one 2 What happens next, and when 3 Contact details for the service 4 Links to information or services the user is likely to need next 5 A link to a feedback page 6 A way to save a record, such as a PDF Source: GOV.UK Design System, Confirmation pages (verified November 2026) https://design-system.service.gov.uk/ patterns/confirmation-pages/
Transaction IDs and Counting Settings, Not Page Views, Stop Thank You Page Double Counts

A thank you page can load again after a reload, a bookmark, or a shared link, and a tag on it can fire each time. Google's documentation handles this with dedicated key events, transaction IDs, and counting settings instead of relying on the page view. Each safeguard below comes with a condition or gap stated in the vendor documentation.

Safeguard How It Works Condition or Gap Source
Dedicated GA4 key event Create a new event, such as generate_lead, that fires only when a page_view occurs on the confirmation URL, then mark that new event as a key event. Marking the built-in page_view event would count every pageview on the site. Configuration can take from a few minutes to a few hours, and the key events card in the Realtime report confirms whether it works. Google Analytics Help, Set up a key event https://support.google.com/analytics/answer/12966437
Virtual page_view for single-page flows Send a page_view event with its own page_location for each virtual step, so the confirmation state can still be measured. Needed for single-page or AJAX flows where there is no new page load. Google Analytics Help, Destination goals https://support.google.com/analytics/answer/11053454
Google Ads transaction ID When two conversions for the same conversion action share one transaction ID, Google Ads treats the second as a duplicate and does not count it. The ID can be up to 64 characters, must not contain information that could identify the customer, and does not resolve duplicate view-through conversions. Google Ads Help, Transaction IDs and duplicate conversions https://support.google.com/google-ads/answer/6386790
GA4 purchase deduplication GA4 deduplicates purchase events that carry the same transaction ID. No time window for deduplication is stated. Leads do not get this automatic purchase protection. Google Analytics Help, Duplicate key events and transaction IDs https://support.google.com/analytics/answer/12313109
Required transaction_id parameter The ecommerce developer guide makes transaction_id a required parameter. Applies to purchase and refund events. Google for Developers, Measure ecommerce https://developers.google.com/analytics/devguides/collection/ga4/ecommerce
Google Ads counting setting The Every setting is described as suited to sales. The One setting counts one conversion per ad click and is described as suited to leads. Matters more for leads, which lack the automatic purchase protection. Google Ads Help, Conversion counting options https://support.google.com/google-ads/answer/3438531

What to Put on a Thank You Page

GOV.UK offers a practical checklist. Its confirmation pages must include a reference number if there is one, what happens next and when, contact details for the service, links to information or services the user is likely to need next, a link to a feedback page, and a way to save a record of the transaction, such as a PDF (UK government design guidance, verified November 2026).

Content also depends on the conversion. An order needs its reference. A contact form needs a clear response window, and a download from a gated lead magnet offer needs the asset or clear instructions for getting it.

Confirmation and Reference Details

A reference number is not always needed. The NHS pattern says to show one only when people need to keep it. An unused code adds noise.

One Relevant Next Step

Fewer elements read more clearly. The NHS service manual advises against adding too many different components and says research suggests they can overwhelm people, and its research notes describe the team's own testing, in which some people were unsure what to do next on crowded pages, especially screen reader users. One relevant follow-on link, placed after the confirmation, fits that guidance. Testing competing offers here belongs to conversion rate optimization work, outside this entry's scope.

A Way to Keep a Record

Give receipt-minded users something to keep. GOV.UK suggests a saveable record such as a PDF, and a stable URL that can be reopened later serves a similar purpose.

Google Ads treats a second conversion that shares a transaction ID of up to 64 characters with an earlier one for the same conversion action as a duplicate and does not count it, per Google Ads Help verified in November 2026. When a customer returns to the conversion page or reloads it, the same Google Ads tag could fire again. With a transaction ID, Google Ads treats a second conversion with the same ID for the same conversion action as a duplicate and does not count it. The ID can be up to 64 characters, must not contain information that could identify the customer, and does not resolve duplicate view-through conversions. Source: Google Ads Help, Transaction IDs and duplicate conversions, vendor documentation verified November 2026. https://support.google.com/google-ads/answer/6386790 How a transaction ID stops double-counted conversions A reload or return to the conversion page could fire the same tag again First load Tag fires with a transaction ID Reload or return visit Same ID, same conversion action: treated as a duplicate, not counted 64 Maximum characters in a transaction ID Limits to know Must not contain information that could identify the customer Does not resolve duplicate view-through conversions Source: Google Ads Help, Transaction IDs and duplicate conversions (verified November 2026) https://support.google.com/ google-ads/answer/6386790

How Thank You Page Tracking Works

The page became a measurement tool because it is easy to target. If it only appears after a conversion, a tag on it can count the conversion. That logic holds until the page loads for another reason.

Turning a Confirmation Page View Into a GA4 Key Event

Google Analytics 4 documents the standard method. Its tutorial on setting up a key event creates a new event, such as generate_lead, that fires only when a page_view occurs on the confirmation URL, then marks that new event as a key event (vendor documentation, verified November 2026). The tutorial warns against marking the built-in page_view event itself, because every pageview on the site would then count. Configuration can take from a few minutes to a few hours, and the key events card in the Realtime report confirms whether it works. Many teams deploy these tags through a tag management container, but the logic stays the same.

Stopping Double Counts

Reloads are the classic failure. Google Ads help documentation explains that when a customer returns to the conversion page or reloads it, the same tag could fire again. Its fix is a transaction ID. When two conversions for the same conversion action share one, Google Ads treats the second as a duplicate and does not count it. The ID can be up to 64 characters, must not contain information that could identify the customer, and does not resolve duplicate view-through conversions (vendor documentation, verified November 2026).

GA4 applies a similar safeguard to purchases. It deduplicates purchase events that carry the same transaction ID, and its ecommerce developer guide makes transaction_id a required parameter on purchase and refund events (vendor documentation, verified November 2026). Neither Google page states a time window for deduplication.

Leads need extra care. They do not get that automatic purchase protection, so the counting setting matters more. Google Ads describes its Every setting as suited to sales and its One setting, which counts one conversion per ad click, as suited to leads (vendor documentation).

A Page View Is Not Proof of a Conversion

Here the receipt and the tripwire collide. The business event, the confirmation screen, and the analytics event are three different things. A stored order is the business event, the thank you page is the screen, and the key event in web analytics reports is the measurement, which can fire without a new order whenever the page is reloaded, reopened from a bookmark, or shared.

Locking the page so it opens only once would protect the count, but it would break the receipt that GOV.UK says some users rely on. The better approach, drawn as analysis from the documentation above, ties the conversion to a unique transaction ID and a suitable counting setting rather than to the page view. The page stays reopenable, and the figures feeding marketing attribution models stay closer to real transactions.


Technical Hygiene for Thank You Pages

Keeping It Out of Search the Right Way

Most teams prefer to keep these pages out of search results, though Google publishes no rule for this page type, so exclusion is a recommendation. Use the right tool. Google Search Central's noindex documentation explains that noindex works through a robots meta tag or an X-Robots-Tag HTTP header, and only when the page is not blocked by robots.txt and crawlers can reach it. Its robots.txt guide adds that robots.txt "is not a mechanism for keeping a web page out of Google," since a disallowed page can still be indexed when other sites link to it (vendor documentation, verified November 2026).

noindex Is Not Access Control

Search exclusion is not privacy. Google's guidance on controlling what you share says private or confidential content should be protected with a password, so only authorized users can reach it. A noindex page still opens for anyone holding the link, which matters when a gated file sits directly on an unprotected thank you URL.

Keeping Personal Data Out of the URL

Query strings travel further than expected. The OWASP community page on information exposure through query strings notes that sensitive data in a URL can leak through the Referer header, web server logs, browser history, and browser cache, even over HTTPS. Google Analytics policy prohibits sending data Google could recognize as personally identifiable information, and its best-practice page says URL paths and parameters should be free of it, with email redaction offered only on a best-effort basis (vendor documentation, verified November 2026).

Redirects help with a related problem. RFC 9110 describes the 303 See Other status as primarily used to redirect after a POST action, so the result becomes a separate resource that can be identified, bookmarked, and cached (IETF standard, 2022). Developers often call this Post/Redirect/Get. It stops a reload from resubmitting the form. It does not stop a tag on the destination page from firing again.

Making the Success Message Perceivable

Accessibility depends on the format. On a separate page, the heading and page title carry the confirmation. For an inline message, WCAG 2.2 success criterion 4.1.3 Status Messages (Level AA) requires status messages to be programmatically determinable through role or properties, so assistive technologies can announce them without moving focus, and the W3C example adds the text "Your form was successfully submitted." to the existing form. Moving to a new page is a change of context, which falls outside the criterion.

RFC 9110, an IETF standard from 2022, describes the 303 See Other status as primarily used to redirect after a POST action, which stops a reload from resubmitting a form but not a destination page tag from firing again. RFC 9110 describes the 303 See Other status as primarily used to redirect after a POST action, so the result becomes a separate resource that can be identified, bookmarked, and cached. Developers often call this Post/Redirect/Get. It stops a reload from resubmitting the form, but it does not stop a tag on the destination page from firing again. Source: IETF, RFC 9110, section 15.4.4, IETF standard, 2022. https://www.rfc-editor.org/rfc/rfc9110 What a 303 redirect stops, and what it does not RFC 9110 describes 303 See Other as primarily used to redirect after a POST action POST Form sent 303 See Other GET Result page The result becomes a separate resource that can be identified bookmarked cached Stops a reload from resubmitting the form Does not stop a tag on the destination page firing again Source: IETF, RFC 9110, section 15.4.4 (IETF standard, 2022) https://www.rfc-editor.org/rfc/rfc9110

Common Thank You Page Mistakes

Most mistakes share one theme. A firing tag gets treated as proof.

  • Marking the built-in page_view event as a key event.
  • Showing the confirmation before the submission is saved.
  • Relying on robots.txt to keep the page out of search.
  • Treating noindex as protection for gated files.
  • Putting names or email addresses in the URL.
  • Locking the page to a single view.
Noindex Keeps a Thank You Page Out of Search, but Not Out of Reach

Each technical control on a thank you page fixes one problem and leaves the others open. Search exclusion, access control, URL hygiene, redirects, and status messages are each documented by a different source, from Google to OWASP, the IETF, and the W3C. Here is what each source says and where its protection stops.

Control What the Source Says Where It Stops Source
noindex Works through a robots meta tag or an X-Robots-Tag HTTP header, and only when the page is not blocked by robots.txt and crawlers can reach it. Does not restrict access. A noindex page still opens for anyone holding the link. Google Search Central, Block indexing with noindex https://developers.google.com/search/docs/crawling-indexing/block-indexing
robots.txt disallow Described as not a mechanism for keeping a web page out of Google. A disallowed page can still be indexed when other sites link to it. Google Search Central, Introduction to robots.txt https://developers.google.com/search/docs/crawling-indexing/robots/intro
Password protection Private or confidential content should be protected with a password, so only authorized users can reach it. Needed when a gated file sits directly on a thank you URL, since noindex alone leaves it open. Google Search Central, Control what you share https://developers.google.com/search/docs/crawling-indexing/control-what-you-share
Keeping data out of query strings Sensitive data in a URL can leak through the Referer header, web server logs, browser history, and browser cache. The leak can happen even over HTTPS. OWASP, Information exposure through query strings https://community.owasp.org/vulnerabilities/Information_exposure_through_query_strings_in_url
PII-free URLs in Google Analytics Policy prohibits sending data Google could recognize as personally identifiable information, and URL paths and parameters should be free of it. Email redaction is offered only on a best-effort basis. Google Analytics Help, Avoid sending PII https://support.google.com/analytics/answer/6366371
303 See Other redirect Primarily used to redirect after a POST action, so the result becomes a separate resource that can be identified, bookmarked, and cached. Stops a reload from resubmitting the form, but does not stop a tag on the destination page from firing again. IETF, RFC 9110, section 15.4.4 https://www.rfc-editor.org/rfc/rfc9110
WCAG 2.2 SC 4.1.3 Status Messages (Level AA) Inline status messages must be programmatically determinable through role or properties, so assistive technologies can announce them without moving focus. Moving to a new page is a change of context, which falls outside the criterion. W3C, Understanding SC 4.1.3 Status Messages https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html

Frequently Asked Questions

What is the purpose of a thank you page?

It confirms that an action such as a form submission or order went through, tells the user what happens next, and often serves as the point where conversion tracking fires. A page view on its own does not prove the action succeeded.

Should a thank you page be noindexed?

Usually, as a recommendation rather than a Google rule. Use a robots meta tag or X-Robots-Tag header, do not block the page in robots.txt, and protect private content with a password, because noindex does not restrict access.

How do I track a thank you page in GA4?

Create a new event, such as generate_lead, that fires on page_view when the page location matches the confirmation URL, mark it as a key event, and check the Realtime report. Do not mark the built-in page_view event.

Why does my thank you page record more conversions than actual orders?

Reloads and return visits can fire the same tag again. Google Ads uses a transaction ID so a second conversion with the same ID for the same action is not counted, and GA4 deduplicates purchase events sharing a transaction ID.

Is an inline success message enough instead of a separate page?

It can be. W3C describes headings, dialogs, and inline feedback as valid confirmations. An inline message must be announced to assistive technologies, and a single-page flow needs a virtual page_view or custom event to be measured.


Related Terms

  • Landing Page (discussed and linked above)
  • Lead Magnet (discussed and linked above)
  • Conversion Rate Optimization (CRO) (discussed and linked above)
  • Google Tag Manager (discussed and linked above)
  • Web Analytics (discussed and linked above)
  • Marketing Attribution (discussed and linked above)
  • Conversion Tracking
  • Key Event
  • Noindex

Sources

  • GOV.UK Design System, Confirmation pages. VERIFIED. https://design-system.service.gov.uk/patterns/confirmation-pages/
  • NHS Service Manual, Confirmation page. VERIFIED. https://service-manual.nhs.uk/design-system/patterns/confirmation-page
  • W3C WAI, Forms Tutorial, User Notification. VERIFIED. https://www.w3.org/WAI/tutorials/forms/notifications/
  • W3C, Understanding SC 4.1.3 Status Messages. VERIFIED. https://www.w3.org/WAI/WCAG22/Understanding/status-messages.html
  • Google Analytics Help, Set up a key event. VERIFIED. https://support.google.com/analytics/answer/12966437
  • Google Analytics Help, Destination goals. VERIFIED. https://support.google.com/analytics/answer/11053454
  • Google Analytics Help, Duplicate key events and transaction IDs. VERIFIED. https://support.google.com/analytics/answer/12313109
  • Google Analytics Help, Avoid sending PII. VERIFIED. https://support.google.com/analytics/answer/6366371
  • Google Ads Help, Transaction IDs and duplicate conversions. VERIFIED. https://support.google.com/google-ads/answer/6386790
  • Google Ads Help, Conversion counting options. VERIFIED. https://support.google.com/google-ads/answer/3438531
  • Google for Developers, Measure ecommerce. VERIFIED. https://developers.google.com/analytics/devguides/collection/ga4/ecommerce
  • Google Search Central, Block indexing with noindex. VERIFIED. https://developers.google.com/search/docs/crawling-indexing/block-indexing
  • Google Search Central, Introduction to robots.txt. VERIFIED. https://developers.google.com/search/docs/crawling-indexing/robots/intro
  • Google Search Central, Control what you share. VERIFIED. https://developers.google.com/search/docs/crawling-indexing/control-what-you-share
  • OWASP, Information exposure through query strings. VERIFIED. https://community.owasp.org/vulnerabilities/Information_exposure_through_query_strings_in_url
  • IETF, RFC 9110, section 15.4.4. VERIFIED. https://www.rfc-editor.org/rfc/rfc9110
We use cookies

We use cookies to enhance your browsing experience, analyze traffic, and personalize content. See our Privacy Policy for details.

Cookie Settings
PT Arfadia Digital Indonesia

We use cookies to ensure the website runs optimally and to help us understand how you use our services. You can choose which categories to allow. Read our Privacy Policy.

Necessary Cookies Always Active

Required for basic website functionality. Cannot be disabled.

Analytics Cookies

Help us understand how visitors interact with the website. Data used anonymously.

Marketing Cookies

Used to display relevant ads and measure campaign effectiveness.

Functional Cookies

Enables live chat, social media integrations, and language preferences.

Preferences saved