Updated session profile page. Added TypeIcon component. Added useRegionNames hook.

This commit is contained in:
Mike Cao 2024-07-29 01:38:36 -07:00
parent ac60d08ee5
commit c3c3b46ef6
313 changed files with 197 additions and 94 deletions

View file

@ -25,8 +25,6 @@ async function clickhouseQuery(websiteId: string, sessionId: string) {
select
session_id as id,
website_id as websiteId,
min(created_at) as firstAt,
max(created_at) as lastAt,
hostname,
browser,
os,
@ -35,7 +33,9 @@ async function clickhouseQuery(websiteId: string, sessionId: string) {
language,
country,
subdivision1,
city
city,
min(created_at) as firstAt,
max(created_at) as lastAt
from website_event
where website_id = {websiteId:UUID}
and session_id = {sessionId:UUID}