From b8c46ba81a24c89059c9cd473baac72b463eb177 Mon Sep 17 00:00:00 2001 From: Malcolm Mielle Date: Mon, 30 Sep 2024 19:06:37 +0200 Subject: [PATCH] feat(analytics): clarity (#1446) Add the code necessary for support of Microsoft clarity --- docs/configuration.md | 3 ++- quartz/cfg.ts | 4 ++++ quartz/plugins/emitters/componentResources.ts | 9 +++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/configuration.md b/docs/configuration.md index 302d067..1622da6 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -33,6 +33,7 @@ This part of the configuration concerns anything that can affect the whole site. - `{ provider: 'posthog', apiKey: '', host: '' }`: use [Posthog](https://posthog.com/); - `{ provider: 'tinylytics', siteId: '' }`: use [Tinylytics](https://tinylytics.app/); - `{ provider: 'cabin' }` or `{ provider: 'cabin', host: 'https://cabin.example.com' }` (custom domain): use [Cabin](https://withcabin.com); + - `{provider: 'clarity', projectId: '