Skip to content

Commit eddf8ef

Browse files
committed
google analytics -> fathom
1 parent 7c6f918 commit eddf8ef

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

themes/vue/layout/layout.ejs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,16 +75,9 @@
7575
window.PAGE_TYPE = "<%- page.type %>"
7676
</script>
7777

78-
<!-- ga -->
79-
<script>
80-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
81-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
82-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
83-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
84-
85-
ga('create', '<%- theme.google_analytics %>', '<%- theme.root_domain %>');
86-
ga('send', 'pageview');
87-
</script>
78+
<!-- Fathom - beautiful, simple website analytics -->
79+
<script src="https://cdn.usefathom.com/script.js" data-site="KTDIHEIJ" defer></script>
80+
<!-- / Fathom -->
8881

8982
<!-- vimeo analytics -->
9083
<!-- <script type="text/javascript" defer="defer" src="https://extend.vimeocdn.com/ga/72160148.js"></script> -->

0 commit comments

Comments
 (0)