Skip to content

Commit 8f39c2d

Browse files
committed
add plausible script
1 parent ea8f682 commit 8f39c2d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/algora_web/components/layouts/root.html.heex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@
5151
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
5252
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
5353
</script>
54+
<script
55+
defer
56+
data-domain={URI.parse(AlgoraWeb.Endpoint.url()).host}
57+
src="https://plausible.io/js/script.js"
58+
>
59+
</script>
5460
<link rel="preconnect" href="https://fonts.googleapis.com" />
5561
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
5662
<link

0 commit comments

Comments
 (0)