purchase: Measuring Revenue and Success
The purchase event is the ultimate conversion goal. It fires when a transaction is successfully completed, usually on the “Thank You” or “Order Confirmation” page.
This event is the most data-rich in the GA4 library. It carries the Transaction ID, the total revenue, tax, shipping costs, and a full array of all items purchased. This data allows you to calculate ROAS (Return on Ad Spend) and determine which marketing channels are actually generating profit versus just generating traffic.
Example: A customer buys three items for $200. The purchase event sends the $200 value back to your Google Ads and Analytics accounts, allowing you to see that your $20 ad campaign successfully generated $200 in revenue.
Frequently Asked Questions
Developers should use a unique “transaction_id”. GA4 will automatically de-duplicate events if it receives the same transaction ID multiple times for the same user.
No, refunds have their own dedicated refund event. Tracking refunds is essential for understanding your “True Revenue” after returns are processed.
Growth driven by data. Don’t let a high Bounce Rate or Black Hat SEO penalties hold your business back. Our Digital Marketing strategies focus on sustainable growth, lead generation, and maximizing your ROI through transparent, data-backed campaigns.