Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Sample to 20m instead of 10m

Uku Taht6aa0d7405d9a
diff --git a/lib/plausible/stats/query.ex b/lib/plausible/stats/query.ex
index 38d9020130..909742d41d 100644
--- a/lib/plausible/stats/query.ex
+++ b/lib/plausible/stats/query.ex
@@ -3,9 +3,9 @@ defmodule Plausible.Stats.Query do
interval: nil,
period: nil,
filters: %{},
- sample_threshold: 10_000_000
+ sample_threshold: 20_000_000
- @default_sample_threshold 10_000_000
+ @default_sample_threshold 20_000_000
def shift_back(%__MODULE__{period: "month"} = query, site) do
# Querying current month to date