Job template · Tracking and analytics
Job template: set up GA4 purchase tracking in Google Tag Manager
By The Microployed teamUpdated 2 min read
The short answer
Use this scope when GA4 doesn't record purchases or revenue, or when you're moving purchase tracking into Google Tag Manager. A pro sets up the purchase event with transaction ID, value, currency and items, marks it as a key event, and proves it works in DebugView. Most jobs take 45 minutes to 2 hours.
Ready-to-post scope
Set up GA4 purchase tracking through Google Tag Manager
Typical time for a pro: 45 minutes to 2 hours
Set up a GA4 purchase event in Google Tag Manager that fires once per order on the confirmation page and sends transaction ID, value, currency and items. Mark it as a key event in GA4, test it in Preview mode and DebugView, and publish the container.
Check first
- Confirm which GA4 property and measurement ID should receive purchases
- Check whether your store already pushes order details to a data layer
- Note whether checkout or the thank-you page runs on another domain
Access to give
- Publish access in your Google Tag Manager container
- Editor access to the GA4 property
- A staff account on your store if the confirmation page needs a code change
Done when
- DebugView shows one purchase event per test order with transaction ID, value and currency
- The purchase event is marked as a key event in GA4
- The Tag Manager container version with the change is published
When to use this template
Post this job when GA4 shows no purchases or no revenue, when purchases appear without a value, or when you want purchase tracking managed in Google Tag Manager instead of hard-coded into your site. If GA4 reports zero conversions and you're not sure why, our guide on why GA4 shows zero conversions helps you narrow it down first.
What the pro will do
The pro sets up a GA4 purchase event in Tag Manager that fires once on the order confirmation page and sends the details Google's ecommerce guide (opens in a new tab) shows: a transaction ID, the order value, the currency and the list of items bought. They make sure the currency is set at the event level so revenue appears in reports, mark the purchase event as a key event in GA4, and test the whole flow with Tag Manager's Preview mode and GA4's DebugView before publishing the container.
On platforms that already push order details to a data layer, the job is mostly mapping those values into the tag. On platforms that don't, the pro may need to add a small data layer snippet to the confirmation page, which takes longer.
How to review the work
Ask the pro to share a screenshot of the purchase event in DebugView with its parameters expanded, showing the transaction ID, value and currency. Then check GA4's Realtime report after a real order. Standard reports can take up to 24 hours to show a key event, so give it a day before judging the totals.
Things that commonly trip this job up
Checkouts hosted on another domain or app can stop the container from running on the confirmation page, which needs a different approach. Thank-you pages that fire the event again when a customer reloads them will inflate revenue unless the tag is limited to the first load. And a container that works in Preview mode does nothing for real visitors until it's published, so confirm the pro published the final version.
The next level up
Send the same purchases to Google Ads with enhanced conversions
Once GA4 has clean purchase data, connecting the same event to Google Ads with enhanced conversions sends hashed customer details along with each sale. That helps Google match purchases to ad clicks when cookies are missing, so your campaigns optimize toward more of your real sales.
Post the enhanced conversions jobQuestions people ask
Do I need to give the pro my Google password?
No. Add them as a user in Google Tag Manager and GA4 with the access the job needs, then remove them once you approve the work.
Will this change the purchase numbers in my reports?
Yes, from the day it's published. Past orders won't be backfilled, so expect a clean start from that date.
Can this be done without Google Tag Manager?
Yes, with gtag.js added directly to the site, but Tag Manager makes later changes easier and lets you test before publishing.
Sources
Checked against these pages on .