feat: Add analytics config and toggle to _config.yml

This commit is contained in:
Paul Gauthier (aider) 2024-12-17 08:32:12 -08:00
parent 5f6821c7e2
commit 154d485c9e
2 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,12 @@
theme: just-the-docs
url: "https://aider.chat"
# Analytics configuration
analytics:
enabled: true # Single switch to control analytics and cookie consent
posthog_key: 'phc_99T7muzafUMMZX15H8XePbMSreEUzahHbtWjy3l5Qbv'
posthog_host: 'https://us.i.posthog.com'
plugins:
- jekyll-redirect-from
- jekyll-sitemap
@ -45,4 +51,4 @@ callouts:
note:
title: Note
color: yellow