Next JS
1: Add the script
Add the code in the layout of your application.
import Script from 'next/script'
<Script src="https://scripts.told.club/sdk/sdk.js"
onLoad={() => told('init', {{ SOURCE_ID }} )}
/>
For more explanations about the script
2: Verify installation
Once you've deployed your app-web with the javascript snippet, you can check that told has been installed. Click on the "Verifiy installation" button.
This will open a link to your website and check if the code was implemented.
If everything went well the status should pass to installed.
TIPS
Check about script optimization.