CardinalPath / gas

Google Analytics on Steroids. A Google Analytics implementation with more power features.
Other
593 stars 78 forks source link

Negative event values do not work #38

Closed chhib closed 11 years ago

chhib commented 11 years ago

There is a line that says if the fourth argument of the event is negative, set it to 0. This is bad in this use case: Cart value tracking. People add and remove from the cart. Removing is an event with a negative value. Using the total and average value columns of the events reports you can see the aggregate cart values.

With GAS setting negative values to zero, this tracking is impossible. Should be corrected to allow for negative event values.

eduardocereto commented 11 years ago

In the past negative value events were bugged and were doing iteger overflow. So a -1 value was actualy close to 4 Billion on the reports. Maybe that has been fixed.

I've seen negative values working fine on transactions, but I've never seen it working on Events.

I'll confirm and change GAS