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
Fix error handling for goals
Uku Tahtd879ef845859
diff --git a/lib/plausible_web/controllers/site_controller.ex b/lib/plausible_web/controllers/site_controller.exindex 37474a3a45..88ddd3846a 100644--- a/lib/plausible_web/controllers/site_controller.ex+++ b/lib/plausible_web/controllers/site_controller.ex@@ -75,7 +75,7 @@ defmodule PlausibleWeb.SiteController do|> put_flash(:success, "Goal created succesfully")|> redirect(to: "/#{URI.encode_www_form(site.domain)}/settings/goals")- {:error, :goal, changeset, _} ->+ {:error, changeset} ->conn|> assign(:skip_plausible_tracking, true)|> render("new_goal.html",