I would like to load a global JS object, which will include helper functions and global variables, that the data elements in Adobe DTM can use. It seems, however, that even when I set the page load rule for this script to "top of page" it still gets rendered after the data elements are set, causing an undefined error message.
Anyone run into this problem and have a solution they can share?
Load it as sequential javascript or html. This way it will load before anything else.