Google Analytics 4 Setup for OkayCMS
Google Analytics 4 setup for OkayCMS
A basic tag shows visitor numbers. A store needs ecommerce tracking: what people view, what they add to the cart, and at which step they abandon checkout.
What is included
- tag installation without duplicated events;
- tracking product views, add-to-cart, checkout start and purchase;
- passing order contents and totals;
- configuring key actions;
- filtering internal traffic;
- verifying the data matches actual orders in the admin.
The OkayCMS specific that breaks statistics
The platform has two separate identifier spaces — one for the product and one for its variant. If the wrong identifier is sent to analytics, product reports stop agreeing with actual sales: listings get mixed up with one another.
This is the most common cause of "analytics shows one set of products, orders show another", and it usually surfaces months after setup.
The mandatory check
After configuration the data is reconciled with the admin: order counts and totals for the same period must match. A discrepancy of a few percent is normal (ad blockers); a discrepancy of tens of percent means a configuration error.