From 0ef068b36e0f6a9827bd92f48b9160ffaea7c709 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Thu, 31 Oct 2019 14:38:22 +0800 Subject: [PATCH] Revert changes to tracking module --- lib/plausible_web/templates/layout/_tracking.html.eex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/plausible_web/templates/layout/_tracking.html.eex b/lib/plausible_web/templates/layout/_tracking.html.eex index 3b08489c5..2d052dbc9 100644 --- a/lib/plausible_web/templates/layout/_tracking.html.eex +++ b/lib/plausible_web/templates/layout/_tracking.html.eex @@ -1,10 +1,10 @@ -<%= if !@conn.assigns[:skip_plausible_tracking] do %> +<%= if Mix.env() == :prod && !@conn.assigns[:skip_plausible_tracking] do %> \