Zaraz Ecomm DataLayer Difficulties

Some things are unclear after implementing on a test site and trying to handoff to someone else at another company:

  1. Diff b/w Subtotal and Revenue is unclear and the math in the examples is ambiguous: Clarification between subtotal and revenue

  2. What dimensions are expected / required / helpful for each Ecomm event (It’s not always clear e.g., how Product List Viewed dimensions map to what would be a GA4 recommended event for list-name). Something like Event code examples for each of the Supported events would go an extremely long way.

Thank you!

1 Like

Self serve notes:

  1. Submitted a pull request for #1: https://github.com/cloudflare/cloudflare-docs/pull/7611

  2. Browsing the src repo here has been helpful: https://github.com/managed-components/google-analytics-4