React.js Web integration

Rookie Contributor

I have seen old posts asking about how to do a React.js implementation but there was no real answer. Is there a recommended approach to including Tealium Utag in a React.js (NOT React Native) Web/Electron app? I see Angular etc. wondering whats best practice to get reference to the utag instance?

What I have done so far: Included the scripts to load the utag.js provided in the `code center`, this loads fine and testing it on the website things work fine I can call the utag via window:{...etc})

however I've tried using the exact same script in the electron version of the app, and the bundled tags/extensions (utag.3.js utag.18.js etc..) fail because the request url is set to file:// rather than an external source, is there a way to tell it to make a http request for the files not locally?