From 58cb2f19aecf43ed6ef7b9f593de4b6ee66da072 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Tue, 28 Jun 2022 15:16:54 +0300 Subject: [PATCH] Add feature flag for google analytics imports --- lib/plausible_web/templates/site/settings_general.html.eex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/plausible_web/templates/site/settings_general.html.eex b/lib/plausible_web/templates/site/settings_general.html.eex index 0de1a4bfd..65e062c15 100644 --- a/lib/plausible_web/templates/site/settings_general.html.eex +++ b/lib/plausible_web/templates/site/settings_general.html.eex @@ -47,6 +47,8 @@ <% end %> +<%= if FunWithFlags.enabled?(:google_analytics_imports, for: @conn.assigns[:current_user]) do %> +

Data Import from Google Analytics

@@ -111,3 +113,4 @@
<% end %> +<% end %>