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
Put live view meta tags behind a FF (#3083)
hq1db5488efa677
diff --git a/lib/plausible_web/templates/layout/app.html.eex b/lib/plausible_web/templates/layout/app.html.eexindex 8df312db70..a9d79c8ee0 100644--- a/lib/plausible_web/templates/layout/app.html.eex+++ b/lib/plausible_web/templates/layout/app.html.eex@@ -5,8 +5,10 @@<meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="description" content="Plausible is a lightweight and open-source web analytics tool. Your website data is 100% yours and the privacy of your visitors is respected."/>- <meta name="csrf-token" content=<%= Plug.CSRFProtection.get_csrf_token() %> />- <meta name="websocket-url" content=<%= websocket_url() %> />+ <%= if Plausible.Funnels.enabled_for?(@conn.assigns[:current_user]) do %>+ <meta name="csrf-token" content="<%= Plug.CSRFProtection.get_csrf_token() %>" />+ <meta name="websocket-url" content="<%= websocket_url() %>" />+ <% end %><link rel="icon" type="image/png" sizes="32x32" href="<%= PlausibleWeb.Router.Helpers.static_path(@conn, "/images/icon/plausible_favicon.png") %>"><link rel="apple-touch-icon" href="/images/icon/apple-touch-icon.png"><title><%= assigns[:title] || "Plausible · Simple, privacy-friendly alternative to Google Analytics" %></title>