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 w...