analytics/assets
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
..
css Refactor top stats and graph positioning (#2662) 2023-02-14 09:59:25 -03:00
js Add revenue metrics to Properties report (#3209) 2023-08-01 13:52:31 +01:00
static Show user feedback form on server errors (#2617) 2023-01-25 15:15:41 +01:00
.babelrc React (#17) 2019-11-19 12:30:42 +08:00
.bundlemonrc.json Add remote config 2021-11-24 11:56:24 +02:00
.eslintrc.json Prepare base for the funnel PRs merge (#2993) 2023-06-01 15:26:23 +02:00
.prettierignore 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 2021-10-11 14:48:19 +02:00
.prettierrc.json Fix svg favicons (#2295) 2022-10-04 13:20:51 +03:00
.stylelintrc.json Add eslint, stylelint, prettier, and pre-commit (#484) 2020-12-23 10:45:53 +02:00
package-lock.json Bump word-wrap from 1.2.3 to 1.2.4 in /assets (#3159) 2023-07-24 15:16:10 +02:00
package.json refactor LazyLoader and fix bug (#3121) 2023-07-13 13:53:53 +03:00
postcss.config.js Update TailwindCSS to 2.0 2020-11-19 14:34:37 +02:00
tailwind.config.js Funnel site settings (#3039) 2023-06-22 09:00:07 +02:00
webpack.config.js Refactor: Use HeadlessUI for search-select component (#2676) 2023-02-20 11:10:11 +02:00