mirror of
https://github.com/umami-software/umami.git
synced 2026-02-23 22:15:35 +01:00
Support contains queries in overview page.
This commit is contained in:
commit
d945ed3a23
12 changed files with 75 additions and 105 deletions
|
|
@ -47,24 +47,15 @@ export function WebsiteMetricsBar({
|
|||
value={views.value}
|
||||
change={views.change}
|
||||
/>
|
||||
<MetricCard
|
||||
label={formatMessage(labels.visitors)}
|
||||
value={visitors.value}
|
||||
change={visitors.change}
|
||||
/>
|
||||
<MetricCard
|
||||
label={formatMessage(labels.visits)}
|
||||
value={visits.value}
|
||||
change={visits.change}
|
||||
/>
|
||||
<MetricCard
|
||||
label={formatMessage(labels.viewsPerVisit)}
|
||||
value={visits.value ? views.value / visits.value : 0}
|
||||
change={
|
||||
visits.value && visits.change
|
||||
? views.value / visits.value - diffs.views / diffs.visits
|
||||
: 0
|
||||
}
|
||||
label={formatMessage(labels.visitors)}
|
||||
value={visitors.value}
|
||||
change={visitors.change}
|
||||
/>
|
||||
<MetricCard
|
||||
label={formatMessage(labels.bounceRate)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue