mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 14:17:13 +01:00
update websitesession, add session duration
This commit is contained in:
parent
3646039e54
commit
136dd6794e
6 changed files with 25 additions and 8 deletions
|
|
@ -47,7 +47,7 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters, pagePar
|
|||
min(created_at) as firstAt,
|
||||
max(created_at) as lastAt,
|
||||
uniq(visit_id) as visits,
|
||||
count(*) as views
|
||||
sumIf(1, event_type = 1) as views
|
||||
from website_event
|
||||
where website_id = {websiteId:UUID}
|
||||
${dateQuery}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue