From 38305ed100281588590e31dd0e9b86d4cffe50f4 Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Thu, 6 Aug 2026 09:20:00 -0700 Subject: [PATCH 1/2] docs: clarify PostHog API key is safe to commit Users were avoiding committing the apiKey out of caution, unaware it's a client-side token already exposed in every browser request. Fixes DOC-415 / mintlify/docs#609 --- integrations/analytics/posthog.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integrations/analytics/posthog.mdx b/integrations/analytics/posthog.mdx index f0331ae3c0..7c6e8860ac 100644 --- a/integrations/analytics/posthog.mdx +++ b/integrations/analytics/posthog.mdx @@ -35,6 +35,8 @@ You only need to include `apiHost` if you are self-hosting PostHog. By default, Your PostHog project API key. Must start with `phc_`. + + This key is a client-side token meant to be public—the same key your browser sends with every analytics event. It's safe to commit to your documentation repository. From bcdbaa6e01c1f5fb55ccabe9e35314ebe6b2b0e0 Mon Sep 17 00:00:00 2001 From: Ethan Palm <56270045+ethanpalm@users.noreply.github.com> Date: Fri, 7 Aug 2026 17:34:07 -0700 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=92=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- integrations/analytics/posthog.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/analytics/posthog.mdx b/integrations/analytics/posthog.mdx index 7c6e8860ac..b3333428ac 100644 --- a/integrations/analytics/posthog.mdx +++ b/integrations/analytics/posthog.mdx @@ -36,7 +36,7 @@ You only need to include `apiHost` if you are self-hosting PostHog. By default, Your PostHog project API key. Must start with `phc_`. - This key is a client-side token meant to be public—the same key your browser sends with every analytics event. It's safe to commit to your documentation repository. + This key is a client-side token meant to be public. It's the same key your browser sends with every analytics event. It's safe to commit to your documentation repository.