Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
combine logic
Brian Caodd54fb3d2c09
diff --git a/lib/clickhouse.js b/lib/clickhouse.jsindex 84be902b3..153042146 100644--- a/lib/clickhouse.js+++ b/lib/clickhouse.js@@ -72,18 +72,10 @@ function getFilterQuery(column, filters = {}, params = []) {switch (key) {case 'url':- arr.push(`and ${key}=$${params.length + 1}`);- params.push(decodeURIComponent(filter));- break;-case 'os':case 'browser':case 'device':case 'country':- arr.push(`and ${key}=$${params.length + 1}`);- params.push(decodeURIComponent(filter));- break;-case 'event_name':arr.push(`and ${key}=$${params.length + 1}`);params.push(decodeURIComponent(filter));