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
Add samesite strict to cookie
Uku Tahtcaf5424cb3e9
diff --git a/lib/plausible_web/endpoint.ex b/lib/plausible_web/endpoint.exindex b66811631b..1664397729 100644--- a/lib/plausible_web/endpoint.ex+++ b/lib/plausible_web/endpoint.ex@@ -38,7 +38,8 @@ defmodule PlausibleWeb.Endpoint dostore: :cookie,key: "_plausible_key",signing_salt: "3IL0ob4k",- max_age: 60*60*24*365*5 # 5 years, this is super long but the SlidingSessionTimeout will log people out if they don't return for 2 weeks+ max_age: 60*60*24*365*5, # 5 years, this is super long but the SlidingSessionTimeout will log people out if they don't return for 2 weeks+ extra: "SameSite=Strict"plug CORSPlug