1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-17 12:15:31 -04:00

test out simple analytics

This commit is contained in:
2020-01-31 17:48:04 -05:00
parent ed5c621d22
commit 9e794df120
2 changed files with 5 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
</div>
{{ partialCached "page/footer" . }}
{{ partial "scripts/shortcodes" . }}
{{ partialCached "scripts/simple_analytics" . }}
</body>
</html>

View File

@@ -0,0 +1,4 @@
{{ if eq hugo.Environment "production" }}
<script async defer src="https://s.jarv.is/app.js"></script>
<noscript><img src="https://s.jarv.is/image.gif" alt=""></noscript>
{{ end }}