'use client';
import { useEffect, useState } from 'react';
import Script from 'next/script';
export default function AnalyticsGate({ GA_ID }) {
const [enabled, setEnabled] = useState(false);
useEffect(() => {
try {
const href = window.location.href || '';
setEnabled(href.includes('hzm0321'));
} catch {}
}, []);
if (!enabled) return null;
return (
<>
>
);
}