Update getFunnel.ts

This commit is contained in:
Viet-Tien 2024-07-25 15:40:19 +07:00 committed by GitHub
parent d0fb1dd4dd
commit 33acfbb82d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -214,7 +214,7 @@ async function clickhouseQuery(
` `
WITH level0 AS ( WITH level0 AS (
select distinct session_id, url_path, referrer_path, event_name, created_at select distinct session_id, url_path, referrer_path, event_name, created_at
from umami.website_event from website_event
where (${stepFilterQuery}) where (${stepFilterQuery})
and website_id = {websiteId:UUID} and website_id = {websiteId:UUID}
and created_at between {startDate:DateTime64} and {endDate:DateTime64} and created_at between {startDate:DateTime64} and {endDate:DateTime64}