mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
change bounce rate to use visits
This commit is contained in:
parent
3234120bfb
commit
f6e8522f6a
1 changed files with 4 additions and 4 deletions
|
|
@ -57,11 +57,11 @@ export function WebsiteMetricsBar({
|
|||
},
|
||||
{
|
||||
label: formatMessage(labels.bounceRate),
|
||||
value: (Math.min(visitors.value, bounces.value) / visitors.value) * 100,
|
||||
prev: (Math.min(visitors.prev, bounces.prev) / visitors.prev) * 100,
|
||||
value: (Math.min(visits.value, bounces.value) / visits.value) * 100,
|
||||
prev: (Math.min(visits.prev, bounces.prev) / visits.prev) * 100,
|
||||
change:
|
||||
(Math.min(visitors.value, bounces.value) / visitors.value) * 100 -
|
||||
(Math.min(visitors.prev, bounces.prev) / visitors.prev) * 100,
|
||||
(Math.min(visits.value, bounces.value) / visits.value) * 100 -
|
||||
(Math.min(visits.prev, bounces.prev) / visits.prev) * 100,
|
||||
formatValue: n => Math.round(+n) + '%',
|
||||
reverseColors: true,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue