Merge pull request #1875 from umami-software/dev

add referrer_domain to getEvent
This commit is contained in:
Francis Cao 2023-04-07 14:40:16 -07:00 committed by GitHub
commit 6ee846d102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}