As an ecommerce business owner, your site’s data is only as good as the tracking behind it. If purchase events are missing and you have duplicate information running rampant, your reporting is bound to become unreliable. And while Google Analytics 4 (GA4) offers a more flexible, event-based approach than Universal Analytics, namely through the use of Google Tag Manager (GTM), that flexibility requires careful setup and testing.
To that end, the following GA4 and GTM QA checklist will provide you with a step-by-step process for purchase event debugging. You’ll learn which ecommerce events matter most, how things like Consent Mode v2 and server-side tagging affect your setup, and how to establish a reliable QA process through which you can trust your attribution data.
The Four Core Ecommerce Events
Instead of sessions, GA4 operates under a model in which everything a shopper does on your site is captured as an event. To enable accurate ecommerce reporting and conversion tracking, Google requires four of these events, in particular, to occur:
- View Item: Fires when a shopper views a product detail page
- Add to Cart: Logs each time an item is added to the cart
- Begin Checkout: Triggers when a customer enters the checkout process
- Purchase: Confirms an order and passes revenue, taxes, and item details
Each event should include key parameters to ensure consistent analytics and tagging, which are as follows:
- Item ID
- Item name
- Currency
- Value
- Transaction ID
You’ll need to include all of these parameters in the correct formats to achieve accurate tracking.
Consent Mode v2
With the rollout of Consent Mode v2, GA4 is capable of adapting its tracking based on whether a visitor agrees to cookies or advertising. On page load, you’ll want to set defaults that deny ad storage and personalization until the user opts in. Here’s how that should look:
<script>
// Default on page load
gtag('consent', 'default', {
'ad_storage': 'denied',
'analytics_storage': 'granted',
'ad_user_data': 'denied',
'ad_personalization': 'denied',
'wait_for_update': 500
});
</script>
When the user accepts, update their consent status to:
<script>
gtag('consent', 'update', {
'ad_storage': 'granted',
'ad_user_data': 'granted',
'ad_personalization': 'granted'
});
</script>
Making these changes ensures your marketing tags remain compliant while also allowing GA4 to fill in gaps with modeled conversions wherever possible.
Server-Side Routing
Implementing server-side tagging is also key for long-term reliability. Instead of sending events directly from the browser, where they can be blocked, you’ll forward them through a secure server container.
Here’s a sample GA4 Measurement Protocol payload for a purchase event:
{
"client_id": "12345.67890",
"events": [{
"name": "purchase",
"params": {
"transaction_id": "T12345",
"currency": "USD",
"value": 99.95,
"items": [{
"item_id": "SKU123",
"item_name": "Product Name",
"price": 99.95,
"quantity": 1
}]
}
}]
}
With this kind of setup, you can control exactly what gets passed to GA4 and reduce the risk of lost data.
Our GTM QA Checklist
Even the best setup can fail if you don’t validate it regularly. To that end, below is our step-by-step GTM QA checklist:
- Check Your Data Layer: Make sure product IDs, prices, and categories populate consistently across product and checkout pages
- Validate View Item Events: Use Google Tag Assistant’s Preview Mode to confirm events fire on every product detail page, with their correct parameters
- Test Add to Cart Behavior: Add multiple items in different quantities to ensure each add to cart event is recorded correctly
- Walk Through Checkout: Confirm “begin checkout” fires when a user enters the checkout flow, not earlier
- Place a Test Order: Ensure the purchase event fires once per transaction and that it includes the correct transaction ID, revenue, and item details
- Check Server-Side Events: Review your server logs and confirm that GA4 receives the Measurement Protocol payload with the matching transaction ID
- Use GA4 DebugView: Watch your test events in real-time to confirm GA4 is ingesting the right parameters
- Compare Client and Server Data: Run a parity check to confirm there are no duplicates or missing purchases
- Benchmark Accuracy and Document Results: Compare GA4’s reported revenue to your ecommerce platform
Making sure you can cross each of these steps off, in addition to updating this checklist where necessary to truly make it your own, is essential to creating a repeatable process that ensures every ecommerce event is working as intended whenever tags are updated.
Define Success With Clear Outcomes
As you round out your GTM QA checklist, use these benchmarks to gauge your success:
- Revenue Accuracy: GA4 revenue data should match your ecommerce platform within 5%
- Event Coverage: All (100% of) view item, add to cart, begin checkout, and purchase events fire correctly
- No Duplicates: Each transaction ID is only recorded once across both client and server
- Consent Compliance: Consent Mode v2 settings correctly reflect user choices for ad storage and personalization
- Parity Checks: Less than 5% discrepancy between client-side and server-side purchase events
- Site Performance Intact: Your Core Web Vitals remain healthy
Tracking these metrics gives you confidence that your data is accurate, consistent, and actionable.
Win at Ecommerce Validation With Net Profit Marketing
A disciplined approach to validation turns GA4 into a trustworthy system for measuring performance and guiding business decisions. If you need any help applying the insights from our GTM QA checklist, Net Profit Marketing has you covered. Contact our team to schedule an audit and level up your ecommerce data today.

Leave a Reply