IMPORTANT: make sure you really need to add a script to the Digioh Box iFrame. 3rd party scripts may expect to be running in the main window, and might not operate as expected in an iFrame. In addition, Digioh form submission is not a “standard” process, so 3rd party scripts that claim to detect form submissions may not work properly. Generally, we recommend installing scripts to your main page, and they can be invoked from Custom JS using window.parent.scriptFunction. Contact Digioh support for more info.
If the script is an HTML script tag like this:
Then you have three options:
1) Paste the tag into an HTML block in the specific box
This will download and run the script before the box is displayed. The downside of this approach is that you have to separately paste this into all boxes that require it, so can be tricky to maintain.
2) Add the script dynamically from Box JS