From 094a4ec9b17790773774a269e43c4f0d9f4d0d34 Mon Sep 17 00:00:00 2001 From: amolla Date: Thu, 4 Jun 2026 15:53:29 -0700 Subject: [PATCH] feat(amplitude): always init regardless of consent Amplitude now initializes unconditionally on every page load instead of gating on wp_docs_consent. The consent banner continues to control the externally-injected ad pile (GA4, Bing UET, DoubleClick, LinkedIn), so banner copy is updated from "analytics cookies" to "ad cookies" to match actual behavior. --- src/components/cookie-consent-banner.tsx | 2 +- src/lib/amplitude.ts | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/components/cookie-consent-banner.tsx b/src/components/cookie-consent-banner.tsx index aeab847..30be5ca 100644 --- a/src/components/cookie-consent-banner.tsx +++ b/src/components/cookie-consent-banner.tsx @@ -29,7 +29,7 @@ export function CookieConsentBanner() {

We use cookies to analyze site usage and improve your experience. You - can accept or decline analytics cookies. + can accept or decline ad cookies.