Add support for Cloudflare Web Analytics
This commit is contained in:
parent
d9c1fd07ab
commit
8bd43aa247
3 changed files with 8 additions and 0 deletions
6
templates/partial/cf_analytics.html
Normal file
6
templates/partial/cf_analytics.html
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% if CLOUDFLARE_WEB_ANALYTICS_TOKEN %}
|
||||
<script defer
|
||||
src='https://static.cloudflareinsights.com/beacon.min.js'
|
||||
data-cf-beacon='{"token": "{{ CLOUDFLARE_WEB_ANALYTICS_TOKEN }}"}'>
|
||||
</script>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue