We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a47548 commit d9a30dfCopy full SHA for d9a30df
lib/diff_web/templates/layout/header.html.eex
@@ -14,7 +14,8 @@
14
<link rel="stylesheet" href="<%= Routes.static_path(@conn, "/css/app.css") %>"/>
15
16
<%= if host = Application.get_env(:diff, :host) do %>
17
- <script async defer data-domain="<%= host %>" src="https://stats.<%= Application.fetch_env!(:diff, :hexpm_host) %>/js/plausible.js"></script>
+ <script async defer src="https://s.<%= host %>/js/script.js"></script>
18
+ <script>window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};plausible.init({endpoint:"https://s.<%= host %>/api/event"})</script>
19
<% end %>
20
</head>
21
<body>
0 commit comments