Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(web-analytics): roll no-join fast paths to all eu cloud teams (#71299)

Lucas Ricoy9da5050f74f8
diff --git a/posthog/settings/web.py b/posthog/settings/web.py
index b4f144524bde..c78e4da43d6a 100644
--- a/posthog/settings/web.py
+++ b/posthog/settings/web.py
@@ -1172,10 +1172,9 @@ WEB_ANALYTICS_NO_JOIN_TEAM_IDS: list[int] = [
# Percentage-of-teams rollout for the no-join fast paths, on top of the explicit
# allowlist above. Bucketing is deterministic per team (team_id % 100) so everyone
# on a team sees numbers from the same code path. 0 disables (allowlist only),
-# 100 enrolls every team. Defaults to 50 on US Cloud (verified region); EU stays 0
-# until its ClickHouse upgrade converges and the fast paths are verified there.
+# 100 enrolls every team. Defaults to 100 on US and EU Cloud; self-hosted stays 0.
# Env var overrides in either direction and is the kill switch.
-_NO_JOIN_DEFAULT_ROLLOUT_PERCENT = 100 if (CLOUD_DEPLOYMENT or "").upper() == "US" and not TEST else 0
+_NO_JOIN_DEFAULT_ROLLOUT_PERCENT = 100 if (CLOUD_DEPLOYMENT or "").upper() in ("US", "EU") and not TEST else 0
WEB_ANALYTICS_NO_JOIN_ROLLOUT_PERCENT: int = get_from_env(
"WEB_ANALYTICS_NO_JOIN_ROLLOUT_PERCENT", _NO_JOIN_DEFAULT_ROLLOUT_PERCENT, type_cast=int
)