Should I use next/script or a plain script tag?
Use next/script with strategy afterInteractive in your root layout. It inserts a normal script tag once, after hydration, and keeps it as routes change. The data-site-id attribute passes through unchanged.