From 7fe8953a2febf5441b2c18e0bdf2fa0fbc925560 Mon Sep 17 00:00:00 2001 From: John Cairns Date: Sat, 30 Jan 2021 17:08:54 -0600 Subject: [PATCH] Flex-260: Add support for Microsoft Clarity --- README.md | 1 + templates/base.html | 3 +++ templates/partial/clarity.html | 7 +++++++ 3 files changed, 11 insertions(+) create mode 100644 templates/partial/clarity.html diff --git a/README.md b/README.md index 6c425f8..5d5f54b 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ The minimalist [Pelican](http://blog.getpelican.com/) theme. - [Matomo Analytics (formerly Piwik)](https://matomo.org/) - [StatusCake](https://www.statuscake.com/) - [Isso](https://posativ.org/isso/) (new in 2.3.0) +- [Microsoft Clarity](https://clarity.microsoft.com) ## Plugins Support diff --git a/templates/base.html b/templates/base.html index 3067590..01e36c5 100644 --- a/templates/base.html +++ b/templates/base.html @@ -152,6 +152,9 @@ {% if GOOGLE_TAG_MANAGER %} {% include "partial/gtm.html" %} {% endif %} + {% if MICROSOFT_CLARITY %} + {% include "partial/clarity.html" %} + {% endif %} {% if GOOGLE_TAG_MANAGER %} diff --git a/templates/partial/clarity.html b/templates/partial/clarity.html new file mode 100644 index 0000000..fd7b935 --- /dev/null +++ b/templates/partial/clarity.html @@ -0,0 +1,7 @@ +