Added SideNav component.

This commit is contained in:
Mike Cao 2023-03-23 11:46:49 -07:00
parent 1666e5e3af
commit c2789d70bc
14 changed files with 115 additions and 39 deletions

View file

@ -31,7 +31,7 @@ function clickhouseQuery(websiteId: string, startAt: Date) {
session_id as sessionId,
created_at as createdAt,
toUnixTimestamp(created_at) as timestamp,
url,
url_path,
event_name as eventName
from event
where event_type = ${EVENT_TYPE.customEvent}

View file

@ -30,7 +30,7 @@ async function clickhouseQuery(websiteId: string, startAt: Date) {
session_id as sessionId,
created_at as createdAt,
toUnixTimestamp(created_at) as timestamp,
url
url_path
from event
where event_type = ${EVENT_TYPE.pageView}
and website_id = {websiteId:UUID}