Skip to content

Commit da92842

Browse files
authored
Replace Google Analytics with Plausible tracking
1 parent d853540 commit da92842

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

_layouts/default.html

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,12 @@
2323
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
2424

2525
{% if site.avatarurl %}{% include site-favicons.html %}{% endif %}
26+
<script defer data-domain="shanebauer.com" src="https://plausible.io/js/script.js"></script>
2627
</head>
2728
<body class="layout-{{ page.layout }}{% if page.title %} {{ page.title | slugify }}{% endif %}">
28-
<script>
29-
(function (i, s, o, g, r, a, m) {
30-
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
31-
(i[r].q = i[r].q || []).push(arguments)
32-
}, i[r].l = 1 * new Date(); a = s.createElement(o),
33-
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
34-
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
35-
36-
ga('create', 'UA-93216180-1', 'auto');
37-
ga('send', 'pageview');
38-
39-
</script>
4029
{% include site-icons.svg %}
4130

4231
{{ content }}
4332

4433
</body>
45-
</html>
34+
</html>

0 commit comments

Comments
 (0)