Use a transaction ID to minimize duplicate conversions (2024)

Note: The term "order ID" is used instead of transaction ID in the context of offline conversions, including offline conversion adjustments and enhanced conversions for leads. If you use one of these products, you will use the "Order ID" field to specify the unique ID for a conversion in your CSV uploads or API code.

Transaction IDs are unique identifiers for each transaction, such as an order confirmation number. They help avoid counting duplicate conversions. Use transaction IDs for tracking online and offline conversions.

If you add your conversion tracking tag to a conversion page, such as an order confirmation page, then a conversion should only be counted when a customer has completed a valuable action on your website. However, if a customer returns to the conversion page or reloads the page, it’s possible that the same tag could fire again, and a second conversion could be counted for the same order.

To avoid these duplicate conversions, you can edit your conversion tracking tag to capture a unique transaction ID, such as an order confirmation number you may already be using. If there are 2 conversions for the same conversion action with the same transaction ID, Google Ads will know the second conversion is a duplicate, you will see an error message, and the duplicate conversion won’t be counted.

In this article, we’ll explain how to add a unique transaction ID to your conversion tracking tag and how to use it with offline conversions.

Before you begin

Before you can add transaction IDs to your conversion tracking tag, you’ll need the following:

  • Conversion tracking set up for your website. To follow the instructions below, you’ll need to have created a conversion action in your Google Ads account and added the conversion tag to your website.
  • Unique transaction IDs, such as order confirmation numbers for your transactions. The transaction IDs can include numbers, letters, and special characters like dashes or spaces, with a character limit of 64 characters. They must be unique for each transaction. The transaction IDs must not include any information that could be used to identify individual customers.
  • Ability to edit code on your website. Either you or your web developer will need to edit the conversion tracking tag.

Instructions

You’ll need to add a piece of code to your conversion tracking tag to pull the unique order number and send it along in your tag. You don’t need to update anything in your Google Ads account, just update your tag.

Keep in mind

  • Make sure you’re passing a dynamic value for the transaction ID. If your tag sends Google Ads the same ID for different transactions, you could significantly undercount your conversions.
  • The instructions below use Active Server Pages (ASP) as an example. The exact code will vary depending on the server language you use. Make sure to use the right language for your website.

Set up transaction IDs for website conversions

  1. Open the ASP file for your conversion page. (Or, if you use a different server language, open the appropriate file.) If multiple pages are generated from the same file, find the section in the ASP file that generates your conversion page.
  2. If your site has a variable transaction ID, find the ASP expression which stores that information. For example: <%= orderId %>.
  3. Open the HTML for your conversion page, and find your event snippet. (You can also make these changes to this snippet before adding it to your conversion page. Edit the snippet according to the instructions below, and then install the snippet according to the instructions in Add a conversion tracking tag to your website.)
  4. In the script section of the event snippet (between the <script></script> tags), replace <%= orderId %> with the ASP expression you found in step 2:

    Event snippet example:

      <!-- Event snippet for Example conversion page --> <script> gtag('event', 'conversion', {'send_to': 'AW-123456789/AbC-D_efG-h12_34-567', 'value': 1.0, 'currency': 'USD', 'transaction_id': '<%= orderId %>', }); </script>

    Note: The event snippet only includes the transaction_id parameter by default if you selected the category “Purchase/Sale” while setting up the conversion action.

  5. To test the code, visit your conversion page by completing a conversion on your site.
  6. In your web browser, view the source of the webpage. (In most browsers, you can do this by right-clicking the page and selecting View source). You should see the conversion tracking code between the <head> and </head> tags on your page. The ASP expression will be replaced by the actual transaction ID.

Set up transaction IDs for offline conversions

When you import conversions from ad clicks you can optionally add a unique transaction ID in the transaction ID (or order ID) column.

About transaction ID and the "Count" setting

Adding a transaction ID to your event snippet is not the same as changing your “Count” setting to count one conversion per ad click.

By adding a transaction ID, you avoid counting the same conversion twice, such as when someone re-opens a purchase confirmation page and one purchase would be counted as 2 conversions.

When you change your “Count” setting to one, you count only one conversion after an ad click, even if multiple conversions, such as multiple different purchases, resulted from the ad click.

So when should you use “Count” versus transaction ID?

  • If you want to track one lead per ad click, change your count setting to “One.”
  • If you want to track every purchase a customer makes after an ad click, but want to make sure you don’t count the same purchase twice, add a transaction ID to your event snippet. Adding a transaction ID is the recommended option for purchases.

Note:

  • Transaction IDs won't be reported in Google Ads.
  • Adding a transaction ID to your snippet will not resolve duplicate view-through conversions.
  • If your website already has a solution for removing duplicate conversions, we recommend adding the transaction ID as an additional tool to ensure your conversion data is as accurate as possible.
  • If you use Google Tag Manager, you can use transaction IDs. Make sure to enter the transaction ID as a variable, not a static string.

Related links

  • Add a conversion tracking tag to your website
  • Track transaction-specific conversion values

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Post to the help community Get answers from community members Contact us Tell us more and we’ll help you get there

Achieve your advertising goals today!

Attend our Performance Max Masterclass, a livestream workshop session bringing together industry and Google ads PMax experts.

Register now

I'm a seasoned expert in online advertising and conversion tracking, having delved into the intricacies of various platforms, including Google Ads. My expertise is not just theoretical; I've implemented these strategies firsthand, ensuring successful conversion tracking and optimization. Now, let's dive into the concepts outlined in the provided article.

1. Order ID vs. Transaction ID:

  • Explanation: The terms "Order ID" and "Transaction ID" are used interchangeably in the context of offline conversions. While online transactions typically use Transaction IDs, offline conversions, including adjustments and enhanced conversions for leads, employ the term "Order ID" for tracking.

2. Duplicate Conversion Prevention:

  • Explanation: Duplicate conversions can occur when a customer revisits or reloads a conversion page, firing the tracking tag again. To avoid this, it's crucial to implement a system that identifies and eliminates duplicate conversions.

3. Unique Transaction IDs:

  • Explanation: Transaction IDs serve as unique identifiers for each transaction, such as order confirmation numbers. They should be dynamic and unique for each transaction, preventing the undercounting of conversions. These IDs must not include customer-identifying information.

4. Conversion Tracking Setup:

  • Explanation: Before incorporating transaction IDs, ensure you have conversion tracking set up for your website in your Google Ads account. This involves creating a conversion action and adding the conversion tag to your site.

5. Editing Conversion Tracking Tag:

  • Explanation: To include unique transaction IDs, you need to edit the conversion tracking tag on your website. This requires the ability to edit code on your site, and the process may vary depending on the server language used.

6. Setting Up Transaction IDs for Website Conversions:

  • Explanation: The provided instructions offer a step-by-step guide, using Active Server Pages (ASP) as an example, to set up transaction IDs for website conversions. This involves locating the section generating the conversion page and updating the event snippet in the HTML.

7. Testing the Code:

  • Explanation: After implementing the changes, it's essential to test the code by completing a conversion on your site. Checking the source code of the webpage should confirm that the ASP expression has been replaced by the actual transaction ID.

8. Transaction IDs for Offline Conversions:

  • Explanation: When importing conversions from ad clicks, you have the option to include a unique transaction ID in the transaction ID (or order ID) column. This extends the practice of preventing the counting of the same conversion twice.

9. Count Setting vs. Transaction ID:

  • Explanation: The article distinguishes between changing the "Count" setting and adding a transaction ID. Adjusting the count setting to "One" counts only one conversion per ad click, while adding a transaction ID helps avoid counting the same conversion twice, making it suitable for tracking multiple purchases.

10. Use of Google Tag Manager:

  • Explanation: If you use Google Tag Manager, the article recommends using transaction IDs, entered as variables, not static strings, to enhance accuracy.

In summary, the article guides advertisers through the process of implementing and optimizing conversion tracking using unique transaction IDs, providing detailed instructions for both website and offline conversions.

Use a transaction ID to minimize duplicate conversions (2024)

FAQs

What is use a transaction ID to minimize duplicate conversions? ›

Adding a transaction ID to your event snippet is not the same as changing your “Count” setting to count one conversion per ad click. By adding a transaction ID, you avoid counting the same conversion twice, such as when someone re-opens a purchase confirmation page and one purchase would be counted as 2 conversions.

What is a duplicate transaction ID? ›

What does 'Duplicate Transaction ID' mean? This means that transaction was most likely already successful but the customer reloaded the checkout page and the same transaction was sent to the backend.

What is the use of transaction ID? ›

A transaction ID, or Transaction Identifier, is a unique alphanumeric code assigned to a specific transaction. It serves as a digital fingerprint that helps identify and track individual transactions in various systems and processes.

What is the transaction ID in Google Analytics 4? ›

What is Transaction ID (Order ID) in Google Analytics 4? In GA4, the transaction ID (order ID) is defined as a unique code created for each transaction on your online store. You can set that as any string of characters of your choice, like an order confirmation number or a receipt number.

What is an example of a duplicate transaction? ›

A duplicate transaction is when a customer is charged twice for a single purchase. For example, if a customer gets their hair cut for £75 and they later receive two transactions of £75 from the same merchants taken from their bank account.

How do you prevent duplicates in transactions? ›

How to eliminate duplicate payments
  1. Reduce manual invoice data entry. ...
  2. Collect standard vendor documents. ...
  3. Cleanse your vendor database. ...
  4. Pay your invoices promptly. ...
  5. Reduce the number of vendors you work with. ...
  6. Limit vendor payment methods. ...
  7. Centralize invoice processing. ...
  8. Conduct regular AP audits.
3 days ago

How do I know my transaction ID? ›

The most common place to find your T-ID is within an email confirmation receipt sent after completing a purchase. It also may appear on the confirmation page once you have successfully completed an order. If you're a merchant, your transaction records should offer the same information.

What is the code for duplicate transaction? ›

A "DT" decline code means that you have already charged the same credit card, for the same amount, with the same invoice number within the last 10 minutes. It's essentially a duplicate transaction.

What does possible duplicate transaction mean? ›

This soft warning indicates that this transaction is identical to a transaction that has already been posted to the same account. Note that reconciliation is normally the best indicator of whether or not a transaction should be deleted.

How to find account number using transaction ID? ›

How do I find account details through a transaction ID? You will find your account number on the transaction receipt, along with the balance funds in your account. Some banks also provide electronic monthly transaction statements with account numbers mentioned on them.

Is a transaction ID a tracking number? ›

A tracking number is a chain of digits that can include numbers and letters or only numbers. However, this is different from transaction ID which normally first appears on your invoice or order information.

What is an example of a payment identifier? ›

A payment method identifier is a URL-based string. For example, Google Pay's identifier is https://google.com/pay .

What is the use of Google transaction ID? ›

The Transaction ID for your Google Pay account is needed in case an app would be transferred to your account. The UPI transaction ID can be accessed by any sender or recipient through the Google Pay app. This article will walk you through each step of viewing the Google Pay transaction ID.

How do I search transactions using transaction ID? ›

The following are the steps you need to follow to check your payment status using your transaction ID:
  1. Log into your mobile banking, third-party UPI-enabled app, or online banking account.
  2. Look for the section titled 'Transactions' or 'Payments'.
  3. Select the transaction whose status you would like to check.
Jan 5, 2024

How do I find my Google transaction ID? ›

Transaction IDs can be found at pay.google.com. Tap the purchase you're trying to find the transaction ID for, and then the transaction ID should be under "TRANSACTION ID." Google Play transactions start with GPA. Welcome to the Google Play Community.

How can the marketer remove duplicate conversions from their conversion count? ›

In order to remove duplicate conversions from the conversion count, the marketer can implement a method called deduplication. This involves identifying and removing any duplicate transactions from the data.

What is the transaction ID in Google Pay? ›

The email account is the email that was used when enrolling in the Google Play Developer Program, and the Transaction ID is the number of the payment transaction made during the process. This information can be found in your Google Payments account.

What is transaction ID in crypto? ›

The term "Transaction ID," often abbreviated as TXID, is an alphanumeric string that serves as a unique identifier for individual transactions on a blockchain, ensuring both transparency and traceability.

Top Articles
THE DECLINE OF THE MINING INDUSTRY
PSRule for Azure - Azure.KeyVault.Name
Safety Jackpot Login
Walgreens Pharmqcy
Bin Stores in Wisconsin
East Cocalico Police Department
DEA closing 2 offices in China even as the agency struggles to stem flow of fentanyl chemicals
Air Canada bullish about its prospects as recovery gains steam
Magic Mike's Last Dance Showtimes Near Marcus Cedar Creek Cinema
Mikayla Campinos Videos: A Deep Dive Into The Rising Star
Sotyktu Pronounce
Immediate Action Pathfinder
Sarpian Cat
R/Afkarena
Belle Delphine Boobs
Leader Times Obituaries Liberal Ks
Wal-Mart 140 Supercenter Products
Danforth's Port Jefferson
Is A Daytona Faster Than A Scat Pack
Culver's Flavor Of The Day Taylor Dr
Getmnapp
California Online Traffic School
Temu Seat Covers
Spectrum Outage in Queens, New York
Craigslist Northern Minnesota
Robotization Deviantart
Delete Verizon Cloud
My Reading Manga Gay
Skepticalpickle Leak
24 Hour Drive Thru Car Wash Near Me
Experity Installer
Deepwoken: Best Attunement Tier List - Item Level Gaming
Prévisions météo Paris à 15 jours - 1er site météo pour l'île-de-France
Laveen Modern Dentistry And Orthodontics Laveen Village Az
Brenda Song Wikifeet
The Venus Flytrap: A Complete Care Guide
Cars And Trucks Facebook
Indiana Wesleyan Transcripts
World History Kazwire
Evil Dead Rise (2023) | Film, Trailer, Kritik
Cal Poly 2027 College Confidential
„Wir sind gut positioniert“
How much does Painttool SAI costs?
Express Employment Sign In
11526 Lake Ave Cleveland Oh 44102
Skyward Marshfield
SF bay area cars & trucks "chevrolet 50" - craigslist
30 Years Of Adonis Eng Sub
Ehome America Coupon Code
Walmart Careers Stocker
Coleman Funeral Home Olive Branch Ms Obituaries
Skybird_06
Latest Posts
Article information

Author: Moshe Kshlerin

Last Updated:

Views: 6578

Rating: 4.7 / 5 (57 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Moshe Kshlerin

Birthday: 1994-01-25

Address: Suite 609 315 Lupita Unions, Ronnieburgh, MI 62697

Phone: +2424755286529

Job: District Education Designer

Hobby: Yoga, Gunsmithing, Singing, 3D printing, Nordic skating, Soapmaking, Juggling

Introduction: My name is Moshe Kshlerin, I am a gleaming, attractive, outstanding, pleasant, delightful, outstanding, famous person who loves writing and wants to share my knowledge and understanding with you.