mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-11 13:44:01 +01:00
fix event metrics
This commit is contained in:
parent
55ba7d95ab
commit
085b6b4071
@ -255,8 +255,6 @@ export function parseFilters(table, column, filters = {}, params = [], sessionKe
|
||||
const { domain, url, event_url, referrer, os, browser, device, country, event_name, query } =
|
||||
filters;
|
||||
|
||||
console.log({ table, column, filters, params });
|
||||
|
||||
const pageviewFilters = { domain, url, referrer, query };
|
||||
const sessionFilters = { os, browser, device, country };
|
||||
const eventFilters = { url: event_url, event_name };
|
||||
|
@ -56,7 +56,7 @@ async function clickhouseQuery(
|
||||
return rawQueryClickhouse(
|
||||
`
|
||||
select
|
||||
event_value x,
|
||||
event_name x,
|
||||
${getDateQueryClickhouse('created_at', unit, timezone)} t,
|
||||
count(*) y
|
||||
from event
|
||||
|
Loading…
Reference in New Issue
Block a user