Skip to content

Commit

Permalink
feat(analytics): add fathom analytics (#1913)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusgb committed Aug 21, 2024
1 parent bf6c996 commit befc4ce
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ analytics:
domain: # fill in your Matomo domain
cloudflare:
id: # fill in your Cloudflare Web Analytics token
fathom:
id: # fill in your Fathom Site ID

# Page views settings
pageviews:
Expand Down
7 changes: 7 additions & 0 deletions _includes/analytics/fathom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- Fathom -->
<script
src="https://cdn.usefathom.com/script.js"
data-site="{{ site.analytics.fathom.id }}"
defer>
</script>
<!-- End Fathom Code -->

0 comments on commit befc4ce

Please sign in to comment.