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/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>
3 years ago
..
css Refactor top stats and graph positioning (#2662) 4 years ago
js Add revenue metrics to Properties report (#3209) 3 years ago
static Show user feedback form on server errors (#2617) 4 years ago
.babelrc React (#17) 7 years ago
.bundlemonrc.json Add remote config 5 years ago
.eslintrc.json Prepare base for the funnel PRs merge (#2993) 4 years ago
.prettierignore 1. Remove the "airbnb" eslint plugin since it conflicts with prettier (#1374) 5 years ago
.prettierrc.json Fix svg favicons (#2295) 4 years ago
.stylelintrc.json Add eslint, stylelint, prettier, and pre-commit (#484) 6 years ago
package-lock.json Bump word-wrap from 1.2.3 to 1.2.4 in /assets (#3159) 3 years ago
package.json refactor LazyLoader and fix bug (#3121) 3 years ago
postcss.config.js Update TailwindCSS to 2.0 6 years ago
tailwind.config.js Funnel site settings (#3039) 3 years ago
webpack.config.js Refactor: Use HeadlessUI for search-select component (#2676) 4 years ago