Browse Source

Remove Plausible Analytics script from application layout (#2688)

pull/2686/head^2
Manny Dinssa 3 months ago committed by GitHub
parent
commit
03f314c745
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      app/views/layouts/application.html.erb

3
app/views/layouts/application.html.erb

@ -60,9 +60,6 @@
</script>
<% end %>
<% if Rails.env.production? && ENV["APP_HOST"].present? %>
<script defer data-domain="<%= ENV["APP_HOST"].split("https://")[1] %>" src="https://plausible.io/js/plausible.js"></script>
<% end %>
</head>
<body class="govuk-template__body app-template--wide">

Loading…
Cancel
Save