You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible_web/controllers/api/external_stats_controller
RobertJoonas a6b1a6ebc7
Unify percentage change for CR and bounce_rate (#3781)
* Fix conversion rate change calculation

The change in conversion rate should be calculated similar to bounce rate.
For example, an increase of 25% -> 50% should not be a 100% change, but
a 25% change instead.

* Use the same comparison function in Stats API and dashboard API

This commit fixes a bug where the percentage change reported by the Stats
API is different from the one returned by the internal dashboard API.

* changelog update
3 years ago
..
aggregate_test.exs Unify percentage change for CR and bounce_rate (#3781) 3 years ago
auth_test.exs improve stats api upgrade required error message (#3747) 3 years ago
breakdown_test.exs Bring Stats API up to speed: Add `conversion_rate` to Aggregate and Breakdown (#3739) 3 years ago
timeseries_test.exs Bring Stats API up to speed: Add `conversion_rate` to Aggregate and Breakdown (#3739) 3 years ago