mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
remove event from website stats. doesnt work with view
This commit is contained in:
parent
136dd6794e
commit
22333a1e9a
3 changed files with 7 additions and 19 deletions
|
|
@ -44,11 +44,11 @@ async function clickhouseQuery(websiteId: string, filters: QueryFilters, pagePar
|
|||
country,
|
||||
subdivision1,
|
||||
city,
|
||||
min(created_at) as firstAt,
|
||||
max(created_at) as lastAt,
|
||||
min(min_time) as firstAt,
|
||||
max(max_time) as lastAt,
|
||||
uniq(visit_id) as visits,
|
||||
sumIf(1, event_type = 1) as views
|
||||
from website_event
|
||||
sumIf(views, event_type = 1) as views
|
||||
from website_event_stats_hourly
|
||||
where website_id = {websiteId:UUID}
|
||||
${dateQuery}
|
||||
${filterQuery}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue