diff --git a/queries/analytics/event/getEvents.ts b/queries/analytics/event/getEvents.ts index de66731c..32bd1dd9 100644 --- a/queries/analytics/event/getEvents.ts +++ b/queries/analytics/event/getEvents.ts @@ -35,7 +35,7 @@ function clickhouseQuery(websiteId: string, startAt: Date, eventType: number) { url_path, event_name as eventName from website_event - where event_type = {eventType:Uint32} + where event_type = {eventType:UInt32} and website_id = {websiteId:UUID} and created_at >= {startAt:DateTime('UTC')}`, {