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