mirror of
https://github.com/plausible/analytics.git
synced 2024-12-20 08:01:48 +03:00
d39fbc48c2
* Disable self-tracking with self hosting * Update CHANGELOG.md
5 lines
331 B
Elixir
5 lines
331 B
Elixir
<%= if !Application.get_env(:plausible, :is_selfhost) && !@conn.assigns[:skip_plausible_tracking] do %>
|
|
<script async defer src="<%="#{plausible_url()}/js/plausible.js"%>"></script>
|
|
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
|
<% end %>
|