DEVELOPER GUIDES
In Next.js the script must load before hydration — otherwise marketing scripts fire before blocking kicks in.
app/layout.tsxpages/_document.tsxstrategy="beforeInteractive" is requiredWith afterInteractive third-party scripts run before blocking applies.
useEffectThat runs after render — too late for blocking.
CookieFood holds them back itself. No need to wrap them in conditions.
YOUR-IDSign up, add a domain and you get the ID right away — the scan starts by itself. The snippet never changes again; everything else is configured in your account.