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
Adjust GA4 import timeout and page size to reduce risk of 502s and timeouts (#4753)
Adrian Gruntkowskidc7e019d58a2
diff --git a/lib/plausible/google/ga4/api.ex b/lib/plausible/google/ga4/api.exindex 7299149814..b5ebc98bde 100644--- a/lib/plausible/google/ga4/api.ex+++ b/lib/plausible/google/ga4/api.ex@@ -14,7 +14,7 @@ defmodule Plausible.Google.GA4.API doexpires_at :: String.t()}- @per_page 250_000+ @per_page 200_000@backoff_factor :timer.seconds(10)@max_attempts 5diff --git a/lib/plausible/google/ga4/http.ex b/lib/plausible/google/ga4/http.exindex 437fd1ed10..aedbf5f929 100644--- a/lib/plausible/google/ga4/http.ex+++ b/lib/plausible/google/ga4/http.ex@@ -48,7 +48,7 @@ defmodule Plausible.Google.GA4.HTTP dourl,[{"Authorization", "Bearer #{report_request.access_token}"}],params,- receive_timeout: 60_000+ receive_timeout: 80_000)with {:ok, %{body: body}} <- response,