add date params back to session metrics

This commit is contained in:
Francis Cao 2023-10-02 10:50:14 -07:00
parent c6d0fde424
commit a1edd4821c

View File

@ -67,6 +67,7 @@ async function clickhouseQuery(
${includeCountry ? ', country' : ''}
from website_event
where website_id = {websiteId:UUID}
and created_at between {startDate:DateTime64} and {endDate:DateTime64}
and event_type = {eventType:UInt32}
${filterQuery}
group by x