On this page
What this issue is
A transaction_id is a unique value, such as an order number, that you send to Google Ads with a conversion. Google Ads uses it to deduplicate: if it sees the same ID twice for the same conversion action, it counts the conversion once.
When the field is missing, Ads has nothing to compare. Every hit that reaches it can look like a separate conversion. This applies to purchases, and also to leads if you send a lead ID or submission ID.
- Ad clickVisitor lands with a gclid
- Order placedConversion sent without transaction_id
- Thank-you page reloadedSame conversion sent again, no ID to match
- Ads reportingTwo conversions recorded for one order
The first hit is real. The repeat hit has no ID to match against, so it is counted again.
Why it costs you leads or sales
Duplicate conversions make campaigns look better than they are. If you use Smart Bidding (target CPA or target ROAS), the bidding model learns from inflated data and can spend on the wrong audiences or keywords. Your reported cost per conversion drops while real revenue stays flat.
It also makes reports hard to trust. Ads totals stop matching your shop or CRM, and the gap is hard to explain. The size of the effect depends on how often people reload, bookmark or revisit the confirmation page.
Example: 100 real orders in a week. Without a transaction_id, repeat hits on the thank-you page push Ads to report more.
How to check if your site has it
Open DevTools
Open your thank-you page in Chrome, press F12 and go to the Network tab. Tick Preserve log.
Complete a test conversion
Submit a test lead or order (use test mode for payments). Never enter real card details on a live store.
Find the Google Ads request
Filter for
googleadservices.com/pagead/conversionorgoogle.com/pagead/1p-conversion. Open the request.Look for the order ID
Check the query string for the
oidparameter. That is where the transaction ID is carried. Ifoidis missing or empty, you have this issue.Use Tag Assistant as a second view
In Google Tag Assistant, open the conversion tag and check that the Transaction ID field has a real value, not a blank or a literal placeholder.
How to fix it
Pick an ID that is unique per conversion and available on the confirmation page: the order number for shops, or a submission or lead ID for forms. Then pass it to the conversion tag. The steps depend on how your tag is set up.
Expose the order ID
Make sure your site pushes the order ID to the data layer on the confirmation page, for example
dataLayer.push({transaction_id: '10234'}). For GA4 ecommerce it sits inecommerce.transaction_id.Create a Data Layer Variable
In Variables, add a Data Layer Variable pointing to your key (for example
transaction_id). Use version 2.Add it to the Google Ads Conversion Tracking tag
Open the tag, find the Order ID field and select your variable.
Preview and publish
Use Preview mode, run a test order and check the variable has a value when the tag fires. Then publish.
Add transaction_id to the gtag event
Pass the unique ID in the conversion event, as in the snippet below. Replace the ID and label with your own values and fill the order ID from your server.
Render the value server-side
Output the real order number into the page template so it is different for every order.
Find how the tag is added
If a plugin (for example a Google Ads or WooCommerce tracking plugin) adds the tag, check its settings for an order ID or transaction ID option and make sure it is on.
Or use GTM
If you use GTM, follow the Google Tag Manager tab and push the WooCommerce order number to the data layer on the order-received page.
Use Order status page or Customer events
Where you add the conversion code (Settings > Customer events, or the Google & YouTube app), use the order's ID or order number as the transaction ID.
Liquid on legacy additional scripts
If you still use code that supports Liquid, use
{{ order.order_number }}for the value, as shown in the snippet below.
Ecommerce orders
Webflow's order confirmation does not expose a ready order variable to custom code in every setup. Check what your tracking integration provides, and use GTM if needed.
Forms
Webflow forms have no built-in submission ID on the page. Generate a unique value with a small script on the success state, as in the lead snippet below.
gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXXXX/YYYYYYYYYYYY',
'value': 49.00,
'currency': 'USD',
'transaction_id': 'ORDER-10234'
});gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXXXX/YYYYYYYYYYYY',
'value': {{ order.total_price | money_without_currency }},
'currency': '{{ order.currency }}',
'transaction_id': '{{ order.order_number }}'
});var leadId = (window.crypto && crypto.randomUUID) ? crypto.randomUUID() : Date.now() + '-' + Math.random().toString(36).slice(2);
gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXXXX/YYYYYYYYYYYY',
'transaction_id': leadId
});Before
- No `oid` in the conversion request
- Reloading the thank-you page counts again
- Ads totals higher than shop or CRM totals
After
- Unique `oid` on every conversion request
- Repeat hits with the same ID are deduplicated
- Ads totals closer to real orders
How to confirm it's fixed
- The conversion request shows an
oidvalue on a test order or lead - Two different test orders show two different IDs
- The ID is a real value, not blank or an unresolved
{{variable}} - Tag Assistant shows the Transaction ID field filled
- Reloading the thank-you page repeats the same ID, not a new one
- After a few days, Ads conversion counts sit closer to your shop or CRM totals
How to prevent it happening again
- Treat the order ID in the data layer as part of your tracking spec
- Re-test the conversion request after theme, checkout or plugin updates
- Re-test after any GTM container publish that touches conversion tags
- Use the same ID in Ads, GA4 and your CRM so counts can be compared
- Schedule an automated check so a regression is caught within a day
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor runs your real journey, such as a lead form or checkout, on a schedule from the EU or the US. It then inspects the tracking hits sent to Google Ads and applies rules on the request parameters, flagging a conversion that arrives without a transaction_id.
Questions people ask
Why are my Google Ads conversions higher than my actual orders?
A common cause is a missing transaction_id. Without it, reloading or revisiting the thank-you page can be counted as a new conversion. Other causes include the tag firing twice or counting more than one action per sale, so check those too.
What is transaction_id in Google Ads?
It is a unique value, usually the order number, sent with a conversion. Google Ads uses it to count the same conversion only once if the same ID arrives again for that conversion action. It appears as the oid parameter in the conversion request.
How do I add a transaction ID to my Google Ads conversion tag?
In Google Tag Manager, put your order ID in a Data Layer Variable and select it in the Order ID field of the Google Ads Conversion Tracking tag. In gtag, add 'transaction_id': 'YOUR-ID' to the conversion event. The ID must be different for each order.
Do lead form conversions need a transaction_id?
It is not required, but it helps if people can reload or revisit the thank-you page. Use a lead or submission ID from your server or CRM. If you generate one in the browser, create it once per submission, not on every page load.
Will adding a transaction_id fix my old conversion data?
No. It only affects conversions sent after the change. Earlier inflated numbers stay in your reports, so note the date of the fix when comparing periods.
How can I see if the transaction ID is being sent?
Open DevTools, go to the Network tab, complete a test conversion and find the Google Ads conversion request. Check that the oid parameter holds a real, unique value. Tag Assistant also shows the Transaction ID field for the tag.
Can FunnelGuard tell me if transaction_id is missing?
Yes. FunnelGuard runs your journey with a robot visitor and checks the Google Ads tracking hit against parameter rules. A conversion without a transaction_id is flagged and you get an alert with a screenshot and a likely cause.
Related issues
- TRK-140Conversion fires twice (gtag + GTM)Fix guide
- TRK-135Google Ads conversion tag missing on thank-you pageFix guide
- TRK-136Wrong conversion ID or labelFix guide
- TRK-138Conversion fires on submit click, not on successFix guide
- TRK-139Conversion value or currency missingFix guide
- TRK-157Conversion action set to Secondary / not in goalsFix guide