Well I thought it was working, in the console _satellite.getVar("ips4_member_id"); returns the correct value.
However when published I get the following error which prevents the whole DTM container from loading.
Uncaught ReferenceError: ipsSettings is not defined
at Object.customJS (satelliteLib-dd4a7b2….js:12)
at Object.D.realGetDataElement (satelliteLib-dd4a7b2….js:10)
at Object.D.getDataElement (satelliteLib-dd4a7b2….js:10)
at Object.D.getVar (satelliteLib-dd4a7b2….js:10)
at satelliteLib-dd4a7b2….js:10
at String.replace (<anonymous>)
at Object.D.replace (satelliteLib-dd4a7b2….js:10)
at g.parseIds (satelliteLib-dd4a7b2….js:11)
at g.applyCustomerIDs (satelliteLib-dd4a7b2….js:11)
at g.initialize (satelliteLib-dd4a7b2….js:11)