Software is like entropy: It is difficult to obey the Second Law of Thermodynamics; i.e., it always increases. -- Norman Augustine

afterInteractive

afterInteractive strategy are injected client-side. It runs after Next.js hydrates the page and is injected into the bottom ofbody. This is the default mode for Next Script.

Third party scripts such as ads, google analytics should be good candidates for this strategy

Sample Code

// code omitted for brevity
<>
<Script src="https://www.google-analytics.com/analytics.js" />
</>