Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

item price is incorrect in purchase event #2181

Closed
phamhung77 opened this issue Dec 14, 2023 · 1 comment · Fixed by #2184
Closed

item price is incorrect in purchase event #2181

phamhung77 opened this issue Dec 14, 2023 · 1 comment · Fixed by #2184
Assignees
Labels
type: bug The issue is a confirmed bug.

Comments

@phamhung77
Copy link

Describe the bug:

Steps to reproduce:

Assuming that there is a connection between GA4 and WooCommerce already.

  1. Open GA4 Debug View.
  2. Place an order with one (or multiple products). Each product has quantity > 1.
  3. Complete the order.
  4. in GA4 Debug View, a purchase event should appear, and we can check the item price

Expected behavior:

the price of one unit of each product.

Actual behavior:

the returned price is subtotal, which is multiplied by the quantity already.

Additional details:

By using subtotal for item price, the GA4 revenue report will be wrong. Because the revenue = item price of one unit * quantity.

@jorgemd24
Copy link
Contributor

Hi @phamhung77! Thanks for flagging this issue!

I've replicated it, and we're working on a fix! It should be released in the coming weeks.

@jorgemd24 jorgemd24 self-assigned this Dec 15, 2023
@jorgemd24 jorgemd24 added the type: bug The issue is a confirmed bug. label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug The issue is a confirmed bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants