Join GitHub today
Google Analytics ecommerce incorrect total #1718
Let's say I order two quantities of a product at $0.01 each for a total of $0.02.
The Google Analytics ecommerce tracking will send an incorrect total. Here's what it sends:
It should set the revenue to 0.02. I think this is happening because $total_price is calculated by the following which loops through items to build the total price but does not check for item quantity: