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

5 lines
299 B
Elixir
Raw Normal View History

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