mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Fixed UTM query. Fixed types.
This commit is contained in:
parent
b3cad83f08
commit
b873ea38ea
5 changed files with 47 additions and 19 deletions
|
|
@ -45,6 +45,7 @@ async function relationalQuery(
|
|||
where website_id = {{websiteId::uuid}}
|
||||
and created_at between {{startDate}} and {{endDate}}
|
||||
and url_query is not null
|
||||
and event_type = 1
|
||||
group by 1
|
||||
`,
|
||||
{
|
||||
|
|
@ -83,6 +84,7 @@ async function clickhouseQuery(
|
|||
where website_id = {websiteId:UUID}
|
||||
and created_at between {startDate:DateTime64} and {endDate:DateTime64}
|
||||
and url_query != ''
|
||||
and event_type = 1
|
||||
group by 1
|
||||
`,
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue