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
Remove page from Plausible tracking
Uku Tahtf13962b38764
diff --git a/lib/plausible_web/controllers/auth_controller.ex b/lib/plausible_web/controllers/auth_controller.exindex 28c26aefea..494d8f6e60 100644--- a/lib/plausible_web/controllers/auth_controller.ex+++ b/lib/plausible_web/controllers/auth_controller.ex@@ -5,7 +5,14 @@ defmodule PlausibleWeb.AuthController dorequire Loggerplug PlausibleWeb.RequireLoggedOutPlug- when action in [:register_form, :register, :login_form, :login]+ when action in [+ :register_form,+ :register,+ :register_from_invitation_form,+ :register_from_invitation,+ :login_form,+ :login+ ]plug PlausibleWeb.RequireAccountPlugwhen action in [@@ -84,7 +91,10 @@ defmodule PlausibleWeb.AuthController doskip_plausible_tracking: true)else- render(conn, "invitation_expired.html", layout: {PlausibleWeb.LayoutView, "focus.html"})+ render(conn, "invitation_expired.html",+ layout: {PlausibleWeb.LayoutView, "focus.html"},+ skip_plausible_tracking: true+ )endendend@@ -121,7 +131,8 @@ defmodule PlausibleWeb.AuthController dorender(conn, "register_from_invitation_form.html",invitation: invitation,changeset: changeset,- layout: {PlausibleWeb.LayoutView, "focus.html"}+ layout: {PlausibleWeb.LayoutView, "focus.html"},+ skip_plausible_tracking: true)endelse@@ -129,7 +140,8 @@ defmodule PlausibleWeb.AuthController doinvitation: invitation,changeset: user,captcha_error: "Please complete the captcha to register",- layout: {PlausibleWeb.LayoutView, "focus.html"}+ layout: {PlausibleWeb.LayoutView, "focus.html"},+ skip_plausible_tracking: true)endend