analytics/lib/plausible_web/templates/layout/_tracking.html.eex

5 lines
275 B
Elixir
Raw Normal View History

2020-02-05 17:08:34 +03:00
<%= if !@conn.assigns[:skip_plausible_tracking] do %>
<script async defer src="https://plausibe.io/js/plausible.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
2019-09-02 14:29:19 +03:00
<% end %>