mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 11:33:31 +03:00
9022234aa6
* added invoices section * fixed formatting * UI and code style improvements, paddle sandbox setup only on dev environment (fixed)
7 lines
332 B
Elixir
7 lines
332 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> |