From 7a1ac22dde8285f12b71b4c8899d8f80156cdbe7 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Fri, 7 Apr 2023 14:37:22 -0700 Subject: [PATCH] add referrer_domain to getEvent --- queries/analytics/event/getEvents.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/queries/analytics/event/getEvents.ts b/queries/analytics/event/getEvents.ts index ddc81528..b3853f2d 100644 --- a/queries/analytics/event/getEvents.ts +++ b/queries/analytics/event/getEvents.ts @@ -33,6 +33,7 @@ function clickhouseQuery(websiteId: string, startAt: Date, eventType: number) { created_at as createdAt, toUnixTimestamp(created_at) as timestamp, url_path as urlPath, + referrer_domain as referrerDomain, event_name as eventName from website_event where event_type = {eventType:UInt32}