analytics/lib/plausible_web/templates/layout/_tracking.html.eex
Uku Taht 594b085467
Analytics without using cookies (#44)
* Use fingerprints instead of user_id

* Fix tests
2020-03-24 10:50:16 +02:00

5 lines
303 B
Elixir

<%= if !@conn.assigns[:skip_plausible_tracking] do %>
<script async defer data-track-acquisition src="http://localtest.me:8000/js/plausible.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
<% end %>