mirror of
https://github.com/plausible/analytics.git
synced 2024-12-29 20:42:01 +03:00
8 lines
333 B
Elixir
8 lines
333 B
Elixir
<script type="text/javascript" src="https://cdn.paddle.com/paddle/paddle.js"></script>
|
|
<script>
|
|
<%= if Application.get_env(:plausible, :environment) == "dev" do %>
|
|
Paddle.Environment.set('sandbox');
|
|
<% end %>
|
|
Paddle.Setup({vendor: <%= Application.get_env(:plausible, :paddle) |> Keyword.fetch!(:vendor_id) %> });
|
|
</script>
|