feat: add cloudflare web analytics (#1723)
This commit is contained in:
parent
12c340e98b
commit
c17fba44f5
2 changed files with 9 additions and 0 deletions
|
@ -68,6 +68,8 @@ analytics:
|
|||
matomo:
|
||||
id: # fill in your Matomo ID
|
||||
domain: # fill in your Matomo domain
|
||||
cloudflare:
|
||||
id: # fill in your Cloudflare Web Analytics token
|
||||
|
||||
# Pageviews settings
|
||||
pageviews:
|
||||
|
|
7
_includes/analytics/cloudflare.html
Normal file
7
_includes/analytics/cloudflare.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!-- Cloudflare Web Analytics -->
|
||||
<script
|
||||
defer
|
||||
src="https://static.cloudflareinsights.com/beacon.min.js"
|
||||
data-cf-beacon='{"token": "{{ site.analytics.cloudflare.id }}"}'
|
||||
></script>
|
||||
<!-- End Cloudflare Web Analytics -->
|
Loading…
Reference in a new issue