Loading topic
items array is (a list of product objects attached to an e-commerce event) and how GA4 events carry parameters. It covers the fields inside each item object, the rules GA4 applies to them, and the mistakes that most often corrupt item reports.4 min readitems array with price and quantity. It covers the two event-level parameters that carry money: currency and value. Most revenue errors in GA4 come from these two fields, not from the items.4 min readitems array, and the standard item parameters. It also assumes you can add a gtag('event', ...) call to a page. Here you will apply that knowledge to the three events that describe how shoppers find products.3 min readitems array is built, and how currency and value are sent. Cart events reuse those pieces. The work here is deciding what each event means, and what quantity and value describe in each one.4 min readcurrency and value correctly, and send events with gtag.js or the GTM dataLayer. It also assumes you have seen the cart events (add_to_cart, view_cart).4 min readpurchase event, which GA4 uses to record revenue. It assumes you can already build an items array, set currency and value, and send events with gtag.js. You should also know the funnel events that come before a purchase.4 min readcurrency and value parameters, and the event names from earlier chapters. It also assumes a GTM web container is already installe4 min readcurrency and value parameters. Here you will check that those events arrive in GA4 with the right shape before you trust any revenue report.5 min readpurchase event with a unique transaction_id and a correct items array. It also assumes you know basic JSON and JavaScript objects.5 min readpurchase event with an items array and a transaction_id, and that you can read a standard GA4 report. It explains which parameters each revenue metric reads. It also covers how refunds change the totals and why GA4 numbers often differ from your order system.4 min readview_item, add_to_cart, begin_checkout, purchase, and refund events with correct items, currency, value, and transaction_id parameters. It also assumes you know the GA4 interface well enough to find reports and the Explore section. Here you wil5 min readpurchase and refund events from the browser. It also assumes you know what transaction_id, items, currency, and value do, and that you can read JSON and basic Node.js. The chapter covers sending the same events from your own server.4 min readitem_brand, item_category, and item_variant. Your business may need more, such as a product's material, its margin tier, or the season it launched. An item-scoped custom dimension lets you report on your own item-level attributes alongside 5 min readSELECT, WHERE, GROUP BY), and you know what the items array and the purchase event contain from earlier chapters. It shows how to flatten items into rows and how to avoid the mistakes that dis3 min readpurchase and refund events with gtag.js or the GTM dataLayer, and that you know the items array and the currency and value parameters. It covers the mistakes that most often make GA4 revenue missing, doubled, or different from your order system. It5 min read