Next.js gives you a built-in Script component specifically for third-party scripts like Orbit's, so you don't need a raw <script> tag or a separate tag manager. The setup lives in one file and applies to every route automatically.
Yes — the mechanism is the same, only the file location changes: app/layout.tsx for the App Router, pages/_app.tsx or _document.tsx for the Pages Router.
It loads the script slightly after hydration rather than immediately, but this still registers within the first second on most pages — a good balance between accurate tracking and not blocking render.
Yes — since the script tag just needs to appear in the shipped HTML, it works the same whether you're using SSR, SSG, ISR, or a fully static export.
If your app sets a script-src CSP header, you'll need to add orbitanalytics.app to the allowlist, or the browser will silently block the tracking script.