---
title: Tracking Orders and Sales in Google Analytics 4
description: Tracking Orders and Sales in Google Analytics 4
---

[Skip to content](https://productcart-kb.nsource.com/kb/tracking-purchases-in-ga4#main-content)

<https://productcart-kb.nsource.com/kb/kb-tickets/new?hsLang=en>

[![pc\_logo](https://productcart-kb.nsource.com/hs-fs/hubfs/pc_logo.png?width=162&height=75&name=pc_logo.png)](https://productcart.com/)

Open main navigation

Close main navigation

- <https://productcart-kb.nsource.com/kb/kb-tickets/new>
- [Contact Support](mailto:help@productcart.com)

[Contact Support](mailto:help@productcart.com)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [ProductCart Help Center](https://productcart-kb.nsource.com/kb?hsLang=en)
2. [Default](https://productcart-kb.nsource.com/kb/default?hsLang=en)

March 5, 2024

# Tracking Orders and Sales in Google Analytics 4

**NOTE:** *Google has announced that **Universal Analytics** would be discontinued after July 1, 2023 and will be proceeded by **Google Analytics 4** (GA4). ProductCart can [integrate with GA4](https://productcart-kb.nsource.com/kb/using-google-analytics-with-your-productcart-powered-store2?hsLang=en) through [Google Tag Manager](https://productcart-kb.nsource.com/kb/google-tag-manager?hsLang=en) (GTM).  *

Once you [configure GA4 through Google Tag Manager](https://productcart-kb.nsource.com/kb/using-google-analytics-with-your-productcart-powered-store2?hsLang=en), you not only can track visitors and actions on your website, you can also collect order information through completed sales at checkout. To do this, you’ll need to capture these actions by creating a tag and trigger in GTM for completed orders. 

## Tracking ProductCart Purchases Using Google Tag Manager 

This article assumes you have already created both a **GA4 Property** and **Google Tag Manager (GTM)** **container.** Additionally, you saved the **GTM container ID** on your ProductCart control panel under *Settings-\>Store Settings-\>Store & Display Settings* and under the *Miscellaneous* tab in the Google Analytics section. If you have not done this, please read the article [Using Google Analytics with your ProductCart-powered store](https://productcart-kb.nsource.com/kb/using-google-analytics-with-your-productcart-powered-store2?hsLang=en) and follow those instructions before proceeding. You will also need ADMIN level access to GTM and at least EDITOR access to GA4 to make the necessary changes. 

### **SET UP TAG **

Step 1: Log into your GTM Account and then open the container setup under your website’s name. 

Step 2: Click the  “New Tag” link on the “Overview” page or click on “Tags” in the left-hand navigation, then click the "New” button. If you don’t’ see this as an option, then you may not have ADMIN permissions set for your email address associated with this GTM account. Request permission from the Administrator of the account if this is the problem.

Step 3: When opening a new tag, give the name of the tag something like “GA4 Purchase Event” then: 

- Under “**Tag Type**,” select “Google Analytics: GA4 Event”  

- Under “**Configuration Tag**,” select your GA4 Configuration Tag you made to track GA4 pageviews. 
- Under “**Event Name**,” type “purchase” 

This much should pass Order IDs, Revenue, and item names into GA4 ecommerce reporting. 

### **CREATE TRIGGER FOR TAG **

Next click on the “Triggering” box or on the icon in the center. Click the “plus sign” button at the top right. Then click “Custom Event” which is under “Other” for trigger types. Type lowercase “purchase” in the “Event Name” box. Click “Save.”  

### **SAVE TAG AND PUBLISH **

After saving the trigger, you’ll return to the screen with all the tag options. On this screen, click “Save” for the Tag. After that you’ll see the list of tags you’ve created including your GA4 Purchase tag. Before you leave GTM, you must activate your changes by clicking the “Submit” button at the top right. Just add a brief Version Name and Description making note of adding a GA4 Purchase Event Tag and Trigger. After that, click the “Publish” button and your new tag will track successful orders moving forward. Know that it can take up-to 48 hours to see transactions show up in GA4 reporting. You’ll know it’s working once you log into your GA4 dashboard, click on “Reports” then click on “Monetization” then Monetization Overview” or “Ecommerce Purchases” and your products and revenue should show there.  

- [Managing Your Products](https://productcart-kb.nsource.com/kb/managing-your-products?hsLang=en)
- [Managing Orders](https://productcart-kb.nsource.com/kb/managing-orders?hsLang=en)
- [Managing Customers](https://productcart-kb.nsource.com/kb/managing-customers?hsLang=en)
- [Getting Started](https://productcart-kb.nsource.com/kb/getting-started?hsLang=en)
- [Apparel Add-On](https://productcart-kb.nsource.com/kb/apparel-add-on?hsLang=en)
- [Upgrading ProductCart](https://productcart-kb.nsource.com/kb/upgrading-productcart?hsLang=en)
- [Change Logs](https://productcart-kb.nsource.com/kb/change-logs?hsLang=en)
- [Store Settings](https://productcart-kb.nsource.com/kb/store-settings?hsLang=en)
- [Security](https://productcart-kb.nsource.com/kb/security?hsLang=en)
- [Shipping Options](https://productcart-kb.nsource.com/kb/shipping-options?hsLang=en)
- [Payment Options](https://productcart-kb.nsource.com/kb/payment-options?hsLang=en)
- [Tax Options](https://productcart-kb.nsource.com/kb/tax-options?hsLang=en)
- [Advanced Technical Articles](https://productcart-kb.nsource.com/kb/advanced-technical-articles?hsLang=en)
- [Pages](https://productcart-kb.nsource.com/kb/pages?hsLang=en)
- [What's New In ProductCart](https://productcart-kb.nsource.com/kb/whats-new-in-productcart?hsLang=en)
- [Marketing](https://productcart-kb.nsource.com/kb/marketing?hsLang=en)
- [How To's](https://productcart-kb.nsource.com/kb/how-tos?hsLang=en)
- [Google Analytics](https://productcart-kb.nsource.com/kb/google-analytics?hsLang=en)
- [QuickBooks Sync](https://productcart-kb.nsource.com/kb/quickbooks-sync?hsLang=en)
- [Default](https://productcart-kb.nsource.com/kb/default?hsLang=en)
- [Configurator](https://productcart-kb.nsource.com/kb/configurator?hsLang=en)
- [SEO](https://productcart-kb.nsource.com/kb/seo?hsLang=en)
- [Mobile Commerce](https://productcart-kb.nsource.com/kb/mobile-commerce?hsLang=en)
- [Troubleshooting](https://productcart-kb.nsource.com/kb/troubleshooting?hsLang=en)
- [Customizing Your ProductCart Store](https://productcart-kb.nsource.com/kb/customizing-your-productcart-store?hsLang=en)
- [ProductCart Apps](https://productcart-kb.nsource.com/kb/productcart-apps?hsLang=en)
- [Hidden Topic](https://productcart-kb.nsource.com/kb/hidden-topic?hsLang=en)
- [Reports and Exports](https://productcart-kb.nsource.com/kb/reports-and-exports?hsLang=en)

[![ProductCart Logo](https://productcart-kb.nsource.com/hs-fs/hubfs/pc_logo.png?width=200&height=93&name=pc_logo.png "ProductCart Logo")](https://netsourceinc.com)

NetSource Commerce, Inc. **|** Headquarters - 3700 South Pine Avenue, Ocala, FL 34471 **|** Tel [(800) 709-3240](tel:+8007093240) **|** Fax (352) 401-0353

<https://www.facebook.com/productcartsoftware> <https://x.com/productcart?s=20> <https://www.linkedin.com/company/productcart/> [mailto:help@productcart.com](mailto:help@productcart.com)

Copyright © 2026, NetSource