Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Fix bug when filtering for goal and session prop
Uku Taht039480a0d141
diff --git a/lib/plausible/stats/clickhouse.ex b/lib/plausible/stats/clickhouse.exindex 85c02d6a7a..63f6878f7e 100644--- a/lib/plausible/stats/clickhouse.ex+++ b/lib/plausible/stats/clickhouse.ex@@ -697,7 +697,7 @@ defmodule Plausible.Stats.Clickhouse donone =ClickhouseRepo.all(from e in base_query_w_sessions(site, query),- where: fragment("not has(meta.key, ?)", ^key),+ where: fragment("not has(?.key, ?)", e.meta, ^key),select: %{name: "(none)",count: fragment("uniq(?) as count", e.user_id),