I am trying to integrate adobe analytics into our Angular 4 application. I have specifies a script tag which contains the js file in the index.html file. The s_code loads fine and it can be seen in the network tab. I am able to see the analytics running in my local, but it does not run when the app is deployed on to the server. It throws random errors in the console like "Uncaught TypeError: s.p_callBack is not a function". Can anyone please help me integrating the analytics in the angular 4 app.
Thank you.