How to Find Transaction ID in GA4

Discover how you can find GA4 transaction ID / order ID in reports with step by step tutorial.

A transaction ID (also called an order ID ) is a unique code for each transaction, like an order confirmation number. Adding a transaction ID to each online purchase helps avoid counting the same sale twice and duplicate conversions from the same user.

Within GA4, there is an Ecommerce Purchases report under Monetization, which contains transaction and purchase data. However, GA4's Ecommerce Purchases report doesn't include transaction IDs, making it challenging to identify specific transactions.

No worries, though! You can easily create custom reports in GA4 using the Exploration section.

This tutorial will show you how to find transaction IDs in Google Analytics 4 (GA4) reports.

Transaction IDs in GA4 Reports
Transaction IDs in GA4 Reports

How to Find Transaction ID in GA4?

Follow these steps to create a transaction report and find transaction IDs in GA4:

Transaction Data in Ecommerce Purchases Report

To view general transaction data, head to the Reports section and select Monetization > Ecommerce Purchases under Life Cycle.

Afterward, click on the Insights option located at the top right corner. Utilizing the Insights feature, you can easily access transaction data for GA4 Ecommerce purchases. If you select Ecommerce under Insights, you'll see suggested information such as:

  • Trend of weekly revenue over last 12 months
  • Revenue by devices this year
  • Top products by revenue
  • What are my best selling products

Here, we see an info card that shows Top Product Name by Transactions:

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.

However, you should note that your transaction ID must be specific & unique to each order so you make sure everything works well when tracking your orders.

A transaction ID works by linking all the ecommerce events that are related to a single transaction.

For example, when a customer adds an item to their cart, views the checkout page, and completes the purchase, these are all different ecommerce events that have the same transaction ID.

By using a transaction ID, you can avoid counting duplicate conversions from the same user. For instance, if a customer reloads the confirmation page or returns to it later, it will not trigger another conversion event because the transaction ID is already recorded.

FAQ

What’s the difference between transactions and conversions?
In Google Analytics 4, transactions refer to unique purchases, while conversions are goals you set for your website. Conversions can include signing up to a newsletter, filling out a form, or engaging with pages as well as purchases.

Useful Links:

Here are useful articles for further reading:

Table Of Contents