diff --git a/lib/plausible_web/controllers/site_controller.ex b/lib/plausible_web/controllers/site_controller.ex index 7f077c24d..ac994ab0c 100644 --- a/lib/plausible_web/controllers/site_controller.ex +++ b/lib/plausible_web/controllers/site_controller.ex @@ -230,7 +230,6 @@ defmodule PlausibleWeb.SiteController do site = conn.assigns[:site] |> Repo.preload(:custom_domain) conn - |> assign(:skip_plausible_tracking, true) |> render("settings_funnels.html", site: site, dogfood_page_path: "/:dashboard/settings/funnels", @@ -243,7 +242,6 @@ defmodule PlausibleWeb.SiteController do site = conn.assigns[:site] |> Repo.preload(:custom_domain) conn - |> assign(:skip_plausible_tracking, true) |> render("settings_props.html", site: site, dogfood_page_path: "/:dashboard/settings/properties", diff --git a/lib/plausible_web/templates/layout/_tracking.html.heex b/lib/plausible_web/templates/layout/_tracking.html.heex index 5181af6cf..9e3cc9b1c 100644 --- a/lib/plausible_web/templates/layout/_tracking.html.heex +++ b/lib/plausible_web/templates/layout/_tracking.html.heex @@ -1,5 +1,10 @@ <%= if !Application.get_env(:plausible, :is_selfhost) && !@conn.assigns[:skip_plausible_tracking] do %> -