Skip to content

Commit 815162a

Browse files
authored
add Plausible analytics (#1336)
1 parent 48761e4 commit 815162a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

layouts/partials/html-head.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#0090ff">
1010
<meta name="msapplication-TileColor" content="#2b5797">
1111
<meta name="theme-color" content="#0090ff">
12+
<script defer data-domain="spec.filecoin.io" src="https://plausible.io/js/script.file-downloads.hash.outbound-links.js"></script>
13+
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
14+
15+
1216

1317
{{- template "_internal/opengraph.html" . -}}
1418

@@ -22,7 +26,7 @@
2226
{{- $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
2327
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}">
2428

25-
{{- template "_internal/google_analytics_async.html" . -}}
29+
2630

2731
<!-- RSS -->
2832
{{- with .OutputFormats.Get "rss" -}}

0 commit comments

Comments
 (0)