_satellite.loadScript
This function was used internally in DTM to load script from a hosted location at runtime. It was considered an internal function, but proved too tempting to those who knew its power.
It does not exist externally in Launch.
Remedy:
The SDI Toolkit extension provides a way to expose Launch's internal loadScript module at runtime. To take advantage of this, Install the SDI Toolkit extension and on the Util Functions tab, check the box that says "Expose loadScript function from Launch Reactor."
Once done, the loadScript function can be accessed at window._sdiToolkit.reactor.loadScript
Note that _sdiToolkit.reactor.loadScript
returns a Promise which allows you options to sequence other operations to happen after the script loads if necessary.
More detailed info on this function here: https://developer.adobelaunch.com/extensions/reference/core-modules/#adobereactor-load-script
Last updated