Skip to content

Commit 1b0175b

Browse files
committed
enable cloudflare web analytics
1 parent a85b2f8 commit 1b0175b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

themes/til/layouts/_default/baseof.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@
3232
});
3333
</script>
3434
{{ end }}
35+
{{ if hugo.IsProduction }}
36+
{{ partial "analytics/cloudflare.html" . }}
37+
{{ end }}
3538
</body>
3639
</html>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- Cloudflare Web Analytics --><script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "b8330080795d4d5cb28d06cedc01a596"}'></script><!-- End Cloudflare Web Analytics -->

0 commit comments

Comments
 (0)