mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 13:47:15 +01:00
use website_event_stats_hourly view for excludeBounceQuery
This commit is contained in:
parent
e21c1c83bb
commit
9d6bb64c3d
1 changed files with 2 additions and 2 deletions
|
|
@ -138,12 +138,12 @@ function getExcludeBounceQuery(filters: Record<string, any>) {
|
|||
|
||||
return `join
|
||||
(select distinct session_id, visit_id
|
||||
from website_event
|
||||
from website_event_stats_hourly
|
||||
where website_id = {websiteId:UUID}
|
||||
and created_at between {startDate:DateTime64} and {endDate:DateTime64}
|
||||
and event_type = 1
|
||||
group by session_id, visit_id
|
||||
having count(*) > 1
|
||||
having sum(views) > 1
|
||||
) excludeBounce
|
||||
on excludeBounce.session_id = website_event.session_id
|
||||
and excludeBounce.visit_id = website_event.visit_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue