From 93b75f81f599dad9e507d5c2a62becc668ed78bd Mon Sep 17 00:00:00 2001 From: Rhuan Barreto Date: Sun, 1 Mar 2026 14:11:51 +0100 Subject: [PATCH] feat(docs): add Cloudflare Web Analytics Inject the Cloudflare beacon script via Starlight's head config to track page views on cli.archgate.dev. Co-Authored-By: Claude Opus 4.6 --- docs/astro.config.mjs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 2a8c1676..fef0a5e7 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -23,6 +23,16 @@ export default defineConfig({ editLink: { baseUrl: "https://github.com/archgate/cli/edit/main/docs/", }, + head: [ + { + tag: "script", + attrs: { + defer: true, + src: "https://static.cloudflareinsights.com/beacon.min.js", + "data-cf-beacon": '{"token": "cee359c05ecc496aabc4f40f05302a03"}', + }, + }, + ], sidebar: [ { label: "Getting Started",