diff --git a/README.md b/README.md index e51607f..bc029eb 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme. - [Google Analytics](https://www.google.com/analytics/web/) - [Google Tag Manager](https://www.google.com/tagmanager/) - [Matomo Analytics (formerly Piwik)](https://matomo.org/) +- [Cloudflare Web Analytics](https://www.cloudflare.com/web-analytics/) - [Plausible](https://plausible.io/) - [StatusCake](https://www.statuscake.com/) - [Isso](https://posativ.org/isso/) diff --git a/templates/base.html b/templates/base.html index e03c2dd..47090fd 100644 --- a/templates/base.html +++ b/templates/base.html @@ -182,6 +182,7 @@ {% include "partial/matomo.html" %} {% include 'partial/github.html' %} {% include 'partial/stork.html' %} + {% include 'partial/cf_analytics.html' %} {% block additional_js %}{% endblock %} diff --git a/templates/partial/cf_analytics.html b/templates/partial/cf_analytics.html new file mode 100644 index 0000000..2c21486 --- /dev/null +++ b/templates/partial/cf_analytics.html @@ -0,0 +1,6 @@ +{% if CLOUDFLARE_WEB_ANALYTICS_TOKEN %} + +{% endif %}