From 003fa4e2522c9f52f6574625f788bded8f87302c Mon Sep 17 00:00:00 2001
From: alhendrickson <159636032+alhendrickson@users.noreply.github.com.>
Date: Wed, 11 Mar 2026 13:39:41 +0000
Subject: [PATCH 1/2] docs: Add posthog usage analytics
---
docs/mkdocs.yml | 5 +++++
.../integrations/analytics/custom.html | 19 +++++++++++++++++++
2 files changed, 24 insertions(+)
create mode 100644 docs/overrides/partials/integrations/analytics/custom.html
diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml
index a21b3fc..b5895f8 100644
--- a/docs/mkdocs.yml
+++ b/docs/mkdocs.yml
@@ -3,6 +3,7 @@ site_url: http://localhost:8080/docs/
theme:
name: material
+ custom_dir: overrides
favicon: assets/cogstack-logo.png
logo: assets/cogstack-logo.png
icon:
@@ -93,6 +94,10 @@ plugins:
- search
- termynal
+extra:
+ analytics:
+ provider: custom
+
markdown_extensions:
- admonition
- attr_list
diff --git a/docs/overrides/partials/integrations/analytics/custom.html b/docs/overrides/partials/integrations/analytics/custom.html
new file mode 100644
index 0000000..73145b0
--- /dev/null
+++ b/docs/overrides/partials/integrations/analytics/custom.html
@@ -0,0 +1,19 @@
+{#-
+ PostHog analytics integration (custom provider).
+ Loads on every page; works with instant navigation via location$.
+-#}
+
From 545a7ca9dbe1942136e6ba965d7cc2782ff92e65 Mon Sep 17 00:00:00 2001
From: alhendrickson <159636032+alhendrickson@users.noreply.github.com.>
Date: Thu, 19 Mar 2026 10:41:18 +0000
Subject: [PATCH 2/2] docs: Set cookieless mode for privacy
---
docs/overrides/partials/integrations/analytics/custom.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/docs/overrides/partials/integrations/analytics/custom.html b/docs/overrides/partials/integrations/analytics/custom.html
index 73145b0..52c41c6 100644
--- a/docs/overrides/partials/integrations/analytics/custom.html
+++ b/docs/overrides/partials/integrations/analytics/custom.html
@@ -5,6 +5,7 @@