Hard to say for sure without looking at your code, but you'll probably
want to set up that JavaScript variable as a Data Element in DTM. JS
Object is a built-in option, so you can simply enter the path for that
variable. Once that is saved, you can reference the Data Element in
custom script (you were entering it in the right place). For
example:s.purchaseID = _satellite.getVar('name of your data
element');Right after that custom code, you may also want to use
_satellite.notify('custom script fi...