Skip to content

Commit

Permalink
add date params back to session metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscao633 committed Oct 2, 2023
1 parent c6d0fde commit a1edd48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/queries/analytics/sessions/getSessionMetrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1edd48

Please sign in to comment.