import { useRef as s, useEffect as r } from "../../external/.pnpm/preact@10.28.2/node_modules/preact/hooks/dist/hooks.module.js";
import o from "../../core/Context/analytics/preact/useAnalyticsContext.js";
const f = (e) => {
  const t = o(), n = s(!0);
  r(() => {
    n.current && (n.current = !1, t.addEvent?.("Landed on page", e));
  }, [t, e]);
};
export {
  f as useLandedPageEvent
};
