Quick Answers
Why does my Google Ads conversion not fire on a React or Next.js site?
The conversion action is usually waiting for a page load that never happens. A single page application swaps the content and updates the URL in the browser without requesting a new document, so a trigger built on a page view has nothing to fire on after the first load.
How can I confirm this is the problem and not a broken tag?
Open the success route by typing the URL directly into the address bar. If the conversion tag fires on that fresh load but never during a real form submission, the tag is installed correctly and the trigger is the fault.
Should I use the History Change trigger or a dataLayer event?
A dataLayer event pushed after the server confirms the submission is more accurate. History Change is a reasonable fallback when no developer time is available, but it reacts to any route change and can count pages that were never conversions.
Can fixing this create duplicate conversions?
Yes, if GA4 enhanced measurement is also tracking page changes. The application event and the enhanced page view can both count the same submission, so keep one source of truth for the conversion and demote or remove the other.
The Tag Fires Once and Then Goes Silent
Here is a symptom that wastes weeks of an advertiser’s time. The Google Ads conversion tag was set up properly. It passed every test during implementation. Smart Bidding is enabled, the budget is running, and clicks are arriving. The conversion column shows almost nothing.
The usual reflex is to blame the tag, then the account, then the agency. The actual cause is often structural: the website is a single page application, and the conversion trigger is still watching for a page load that the site no longer performs.
In a traditional website, every link requests a fresh HTML document. The browser tears the page down and builds a new one, and any tag waiting for that moment fires. React, Vue, Angular, Next.js and the newer themes on Shopify and Webflow do something different. They intercept the navigation, fetch data in the background and swap the content in place while the address bar quietly updates. Nothing reloads.
This failure has a familiar name inside lead-gen accounts. A thank you page conversion not firing is usually a routing problem rather than a tag problem, and it looks identical whether the front end was written in React, Vue or Angular. The framework changes. The missing page load does not.
Google Ads conversion tracking on a single page application fails at exactly that point. The trigger and the site disagree about what counts as a new page, and only one of them knows.
For the visitor this is faster and smoother. For anything listening for a page load, part of the site has effectively become invisible.
The reason this survives testing is simple. When you test, you usually open the success page directly, by pasting the URL or clicking through from a document preview. That produces a real page load, the tag fires, and everything looks healthy. Real visitors never load that page. They reach it through an internal route change, and the tag never hears about it.
What Actually Breaks on a Single Page App
The conversion is an expensive failure, but it is not the only one. Once the page load stops happening, several dependents stop with it.
| What stops working | What it looks like | Why it happens |
| Page views after the first one | Every session looks like a single page visit | No document request, so no page view event is sent |
| Thank-you page conversion | Conversion action shows no recent conversions | The URL or page-load rule is only evaluated on a document load |
| Remarketing audience growth | Lists stop growing or grow slowly | No new page view signals to build the list from |
| Key events in GA4 | Low or zero recorded conversions | The same missing trigger exists on the analytics side |
The last row matters more than it looks. Teams often fix the Google Ads tag and leave GA4 broken, then spend the next month reconciling two dashboards that disagree for a completely different reason.
Step 1: Confirm the Site Is Routing Without a Page Load
Before changing anything, prove the diagnosis. Open the site, open developer tools, switch to the Network tab and filter to Document. Then navigate between two pages the way a visitor would.
If a new document request appears on every click, the site is not a single page application and this article is not your problem. If the URL changes and no new document request appears, you have found it.
A second check works without developer tools. Reach the success page by clicking through the flow, then look at the browser’s back and forward buttons. On a single page app, the sequence of steps in the history is different from a normal site, because the app is writing entries itself.
Record what you see. This is the evidence you will need if someone in the account insists the tag is broken.
Step 2: Watch What the Tag Actually Does
Open Google Tag Assistant (link in References) and connect to the site. Complete the flow the way a visitor would and watch the tags panel at the moment the success state appears.
There are three possible outcomes, and they point in different directions.
No Google Ads tag fires at all. The trigger never met its condition. This is the expected result on a single page app when the trigger is built on a page load.
The tag fires, but you are on the wrong step. The trigger condition is too loose. A rule such as “URL contains /contact” matches the form page, not the confirmation. This inflates the conversion count instead of reducing it.
The tag fires correctly. Then the trigger is fine and the fault is later in the chain: consent, click identifier, or the account link. This article will not solve that, and the section below on what this does not fix explains why.
One more thing worth checking while you are here. In the account, open Goals, then Conversions, and read the status of the action. “No recent conversions” after a site relaunch is a strong hint. “Recording conversions” with low volume is not proof of health, because the action can be fired on a page load during your own testing only.
The Three Triggers Compared
There are three practical ways to fire a conversion on a single page app. They are not equally good, and the differences are worth understanding before you pick one.
| Trigger | When it fires | Best for | Failure mode |
| URL rule on a page load | Only when the document reloads | Multi-page sites | Never fires during real navigation on a single page app |
| History Change trigger | On any route or fragment change | A quick fix with no developer time | Fires on routes that were never conversions, and can run before the new content is ready |
| dataLayer event pushed by the app | When your own code decides, ideally after the server responds | Any application you control | Nothing fires if the push is missed, misnamed or blocked by an early return |
The GTM History Change trigger conversion route has one genuine advantage: it needs no code change. Enable the built-in History variables, create the trigger, add a path condition that matches only the success route, and it works.
Its weakness is precision. It reacts to a URL change, which is not the same moment as a successfully stored submission. A visitor who reaches the success route after a failed request, or who edits the URL, can produce a signal that never represented a real lead. On a checkout flow, that difference is small. On a lead form that also has a payment or booking step, it matters.
The dataLayer event does not have this problem. A dataLayer push on form success is the only one of the three that knows whether the record was actually stored, because the application decides when to send it. That is the approach worth asking a developer for.
The Fix: Fire on Confirmed Success, Not on Navigation
The principle is one sentence. The conversion should fire when the server confirms the submission was stored, not when the browser shows a thank-you screen.
Those two moments usually look identical to a visitor and are completely different to a measurement system. A screen can render after a request that timed out. A stored record cannot.
Send the form, wait for the response, check it, and only then push the event.
async function submitLead(form) {
const response = await fetch('/api/lead', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(form)
});
const result = await response.json();
if (response.ok && result.stored === true) {
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'lead_submitted',
lead_type: 'quote_request'
});
}
}
The stored flag is the part most implementations skip. An endpoint that returns 200 while writing nothing to the database will otherwise count as a conversion, and you will be back to a dashboard that reports leads nobody received.
React Google Ads conversion tracking setups break here for a second reason: the tag is often called straight from the component, so it inherits the component’s timing and can run before the request resolves. A Next.js Google Ads conversion carries the same temptation. Push the vendor-neutral dataLayer object instead, so the tag configuration stays in Tag Manager and not in the application code.
import { useRouter } from 'next/router';
async function handleSubmit(values) {
const response = await fetch('/api/lead', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(values)
});
if (!response.ok) return;
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ event: 'lead_submitted' });
router.push('/thank-you');
}
If the project uses the App Router, the hook comes from next/navigation instead of next/router. The push is unchanged.
In Tag Manager, the rest is short work: create a Custom Event trigger with the event name lead_submitted, attach it to the Google Ads conversion tag, and remove any page-load condition that could still match the old success URL.
Two rules make the setup safer. Push the event once, guarded so a double click on the submit button cannot send it twice. And keep the success route free of a second conversion tag, because a stale URL rule left in place will fire on the direct load and double the count.
A Test Matrix You Can Run in Ten Minutes
Testing a single page app by hand is unreliable, because the tester knows the URL and keeps typing it. Work through the five cases below in order. Each one catches a different class of mistake.
| Test | Expected result | What a failure means |
| Load the success route directly in the address bar | Conversion fires once | The tag is not installed or not published |
| Complete the form normally from the landing page | Conversion fires exactly once | The trigger is not attached to the application event |
| Reload the success page in the browser | No new conversion | The old page-load rule is still active somewhere |
| Submit the form with a required field empty | No conversion | Validation is not blocking the push |
| Submit twice in quick succession | One conversion, not two | The push is not guarded against repeated submits |
The third row is the one people skip, and it is the one that separates a clean setup from a setup that quietly inflates every report for a year.
Avoiding Double Counting When You Also Run GA4
A single page app usually breaks GA4 at the same time, and the popular fix creates a second problem.
GA4 enhanced measurement includes a setting that records page changes driven by browser history events. Switching it on is the quickest way to get sensible page views on a single page application. The trap is enabling it and also sending your own page view, which counts every route twice.
For conversions specifically, the rule is simpler: one action, one trigger. If the Google Ads conversion action fires from the application event, it should not also fire from a URL rule, a History Change trigger, or an imported GA4 key event. Two sources feeding one action is the most common reason a lead-gen account reports more conversions than it has leads.
If you need the GA4 key event as a backup signal, keep it, but mark the Google Ads action that consumes it as secondary so bidding does not learn from a duplicated number.
What This Does Not Fix
This article solves one failure. It is worth naming the ones it leaves alone, because a single page app can have all of them at once.
- Consent. If the consent signal never reaches the tags, the conversion can fire in the browser and still arrive at Google stripped of its advertising data.
- Click identifier loss. Auto-tagging appends a click identifier to the landing URL. A redirect chain, a cross-domain form or an iframe can remove it before your form sees it, and the conversion then has no click to attach to.
- CRM mapping. A conversion that records correctly in Google Ads proves nothing about whether the lead reached the sales team.
- Offline imports. Importing a later sales stage back into Google Ads is a separate pipeline with its own failure points.
Each of these needs its own diagnosis. Fixing the trigger first is still the right order, because a broken trigger makes every other measurement question unanswerable.
A Checklist Before You Change Anything
- Confirm the site routes without a document request.
- Record which tag fires today, if any, and on which interaction.
- Confirm the Google Ads conversion action is the only primary action for that lead type.
- Decide whether the trigger will be an application event or History Change, and write down the choice.
- Add the guard against repeated submits before you publish.
- Remove the old URL rule in the same change, not later.
- Run all five tests in the matrix above before you spend again.
If the answer to step 3 is unclear, stop. Trigger changes made on top of a duplicated conversion action usually make the reporting worse, not better.
If Paid Leads Are the Backbone of Your Pipeline
A conversion that never fires is not a marketing inconvenience. It trains Smart Bidding on incomplete data, so every bid after it is a guess. That is why this problem tends to surface as a cost problem before anyone recognises it as a measurement problem.
If you need the application side rebuilt, our web development team can put the confirmation event where it belongs: after the server responds, guarded against repeats, and readable by Tag Manager. If the account side needs the same level of attention, our PPC management service covers conversion setup, account structure and the reconciliation between what the platform reports and what your sales team actually receives.
Frequently Asked Questions
Does the History Change trigger work if the site is on Shopify or Webflow?
Partly. Both platforms now use client-side routing in places, and the History Change trigger can catch those transitions. The stronger option is still a dedicated event from the platform or the app, because a theme update can change the route structure without telling you, and a path condition built on yesterday’s URLs will silently stop matching.
Will changing the trigger break my remarketing audiences?
It can, if the audience is built on a page view that no longer fires. Check the audience source before you publish and rebuild anything that depends on the success page. Audiences based on the application event are usually more durable, because they survive a URL change during the next redesign.
Do I need a developer to fix this?
For the History Change route, no. It is a Tag Manager change and it can be done in an afternoon. For the application event, yes, because someone has to add the push to the form handler and guard it against repeated submissions. The second option is worth the developer time, and it is a small change, not a project.
Why does the conversion appear in Tag Assistant but not in Google Ads?
Tag Assistant proves the tag fired in the browser. It does not prove Google Ads accepted the conversion. If the tag fires and the account stays empty, look at auto-tagging, the consent signal, and whether the click identifier survived the journey to your form. The trigger is no longer the suspect at that point.