diff --git a/components/consent-init.tsx b/components/consent-init.tsx index d750b17..d13dee9 100644 --- a/components/consent-init.tsx +++ b/components/consent-init.tsx @@ -1,42 +1,44 @@ -import Script from "next/script"; - /** * Google Consent Mode v2 — defaults set to "denied" before any tag loads. * After the user makes a choice, CookieBanner calls gtag('consent','update', ...). * - * GTM/GA inject sadece site_settings.gtm_id doluysa yapılır. + * Next.js 16 / React 19'da `next/script` inline scripts ile sorunlu olduğu için + * doğrudan - - {gtmId && ( + +