Hi,
We are trying to configure EUEM manually by adding js files in common page of application.
The issue we are facing here is the file which is common in all pages of application is JavaScript file and we are not able to add <script>window['adrum-start-time'] = new Date().getTime();</script><script src="/adrum.js"></script> line in JS file.
It is not able to access adrum.js file.
We have added the adrum.js file in same folder where common JS file is located.
Kindly provide us some way to add the agent string in JS file so that we can configure EUEM.
Regards,
Prasad
Hi Prasad,
If i understood correctly you have jsp1 , jsp2 like jspx pages and all jsp/html pages uses one common JS file , and you are trying add in JS file, We expect as per doc specs the adrum.js script entry should go inside the <meta> element part of HTML/JSP elements.
Can you please add the line in 2-3 pages you would want to monitor as per syntax and location under head meta tag stated in docs and see how it goes, we understood the adrum.js is already in relative path and file location /file import is not an issue here.
Hi Arun,
Thanks for your reply,
is there any option exist to add adrum.js entry in JS file.
Regards,
Prasad
Hi Arun,
Can we copy the code from adrum.js file to the common js file?
Will it work in my scenario?
Regards,
Prasad
Hi Prasad,
As per docs the recommended way is to put under <head> and <meta> puting adrum.js in another js will not work, Hope that answers.
Regards,
Arun