Skip to content

Commit befc4ce

Browse files
authored
feat(analytics): add fathom analytics (cotes2020#1913)
1 parent bf6c996 commit befc4ce

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ analytics:
7070
domain: # fill in your Matomo domain
7171
cloudflare:
7272
id: # fill in your Cloudflare Web Analytics token
73+
fathom:
74+
id: # fill in your Fathom Site ID
7375

7476
# Page views settings
7577
pageviews:

_includes/analytics/fathom.html

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- Fathom -->
2+
<script
3+
src="https://cdn.usefathom.com/script.js"
4+
data-site="{{ site.analytics.fathom.id }}"
5+
defer>
6+
</script>
7+
<!-- End Fathom Code -->

0 commit comments

Comments
 (0)