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.
*/
export function ConsentInit({ gtmId }: { gtmId?: string | null }) {
return (
<>
{gtmId && (
<>
>
)}
>
);
}