import { useEffect as f } from"react";
import { useGA as r } from"./react-analytics.es13.js";
functions({
args: t,
params: o,
enabled: e = !0
}) {
const { ga4Consent: n } = r();
f(() => {
e && n(t, o);
}, [t, o, e, n]);
}
export {
s as useGAConsent
};