Hi Support team,
We want to enable instrumentation with dynatrace 6.0 on premise in Cordova based Hybrid app where JavaScript files renders in a web container.
For the hybrid apps, dynatrace 6.0 provides a new feature of manually injecting the Java Script Agent into the HTML5 content. I want to know more details on this.
What level of instrumentation does JavaScript agent manual injection provide ?
If I have “Ext JS” JavaScript Agent and Agent script (e.g. <script></script>) then how I can use it for Cordova based apps ?
Cordova based apps, All files are JavaScript files no html tags and only index.html (bootstrapping file). I tried adding script in index.html but app got failed to compile.
First of all, Is manual JavaScript Agent Injection useful for Cordova based Hybrid apps ? If yes then please share the steps or procedure to integrate!
Thanks.
Best,
Prateek
Answer by Dominik P. ·
Hi Prateek,
you can manually inject the JavaScript agent into your Cordova based app. The online documentation describes how to do it: Hybrid Application Setup and Instrumentation
Best regards,
Dominik
JANUARY 15, 3:00 PM GMT / 10:00 AM ET