analytics/assets/js/dashboard/stats/modals
RobertJoonas 8ac166b447
Add revenue metrics to Properties report (#3209)
* extract add_exit_rate function

* Change internal API metric names for /entry-pages & /exit-pages

* `unique_entrances` -> `visitors`,
* `total_entrances` -> `visits`,
* `unique_exits` -> `visitors`,
* `total_exits` -> `visits`,

This is just a consistency improvement - the `visitors` metric always means
one thing and there's no need to call it different for entry pages internally.

This commit does not change any noticable behavior. The UI labels are kept
the same and the column headers in the CSV export will also remain the same.

* Change internal API metric names for /conversions

* `unique_conversions` -> `visitors`,
* `total_conversions` -> `events`,

* return revenue metrics from /custom-prop-values (backend)

* be more explicit about which metric is plotted with Bar

* validate that ListReport input metrics actually exist in the API response

* display revenue metrics in the dashboard Properties section

* limit the number of columns shown on mobile

* add revenue metrics to Properties > Details

* review suggestions

* define hiddenOnMobile per metric instead of keeping the first 3

* rewrite if-else block

---------

Co-authored-by: Vini Brasil <vini@hey.com>
2023-08-01 13:52:31 +01:00
..
entry-pages.js Refactor: Standardize API metrics used internally (#3208) 2023-07-31 09:33:37 +01:00
exit-pages.js Refactor: Standardize API metrics used internally (#3208) 2023-07-31 09:33:37 +01:00
filter-modal.js Prop filter modal (#2841) 2023-04-27 14:09:33 +03:00
google-keywords.js Frontend timezone issues (#2810) 2023-04-07 09:56:02 -03:00
modal.js Support multiple filters - frontend (#2773) 2023-03-27 16:51:31 +03:00
pages.js Display pageviews in details modal for top pages when filtering by a source (#2585) 2023-01-13 14:10:20 -03:00
prop-filter-modal.js List props frontend (#3126) 2023-07-21 11:19:07 +03:00
props.js Add revenue metrics to Properties report (#3209) 2023-08-01 13:52:31 +01:00
referrer-drilldown.js Refactor: Use ListReport component in Sources (#3153) 2023-07-21 07:35:41 +03:00
regular-filter-modal.js Prop filter modal (#2841) 2023-04-27 14:09:33 +03:00
rocket-icon.js Show last touch referrer for drilldown 2020-05-25 14:52:20 +03:00
sources.js Always show direct traffic in sources reports (#2531) 2022-12-19 13:40:21 +01:00
table.js Add spacing around percentages 2021-12-06 15:18:17 +02:00