mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Fix bounce rate miscalculation
This commit is contained in:
parent
c8ca131edf
commit
84dda6819b
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ export default function MetricsBar({ websiteId, className }) {
|
|||
/>
|
||||
<MetricCard
|
||||
label={<FormattedMessage id="metrics.bounce-rate" defaultMessage="Bounce rate" />}
|
||||
value={pageviews ? (bounces / pageviews) * 100 : 0}
|
||||
value={uniques ? (bounces / uniques) * 100 : 0}
|
||||
format={n => Number(n).toFixed(0) + '%'}
|
||||
/>
|
||||
<MetricCard
|
||||
|
|
|
|||
Loading…
Reference in a new issue