2021-09-23 12:16:19 +03:00
|
|
|
<%= if Application.get_env(:plausible, :environment) == "prod" && !Application.get_env(:plausible, :is_selfhost) && !@conn.assigns[:skip_plausible_tracking] do %>
|
2021-05-20 17:25:57 +03:00
|
|
|
<script defer src="https://testing-plausible-io-proxy.uku-taht.workers.dev/js/script.js"></script>
|
2021-06-29 17:13:17 +03:00
|
|
|
<script defer src="<%="#{plausible_url()}/js/script.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>
|
2020-06-25 12:31:54 +03:00
|
|
|
<% end %>
|
2021-09-23 12:16:19 +03:00
|
|
|
|
|
|
|
<%= if Application.get_env(:plausible, :environment) == "dev" do %>
|
|
|
|
<script defer src="<%="#{plausible_url()}/js/plausible.local.js"%>"></script>
|
|
|
|
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
|
|
|
<% end %>
|