Hi, I want to send properties for the user session and send custom errors from my Ionic mobile application. I installed the @dynatrace/cordova-plugin but when implementing dtrum it tells me that it is not defined. That’s why I can’t use the dtrum.identifyUser() or the dtrum.reportCustomError(). Any suggestions for this?
The error means that dtrum is not available for some reason. If you have the .js file installed can you check if you have connectivity to the url listed there.
Hi, I need to send custom errors and identify the user session in a mobile application with ionic and capacitor. To use Dtrum just add the dynatrace.config.js file in the root of the project?
root of the project? and install @dynatrace/cordova-plugin?
Thanks Daniel now dtrum is working at least now is define in the app but I don’t see the information in the dynatrace application. I used this function dtrum.identifyUser("email) and dtrum.reportCustomError(“home”, “Errro in home”) but I don’t see the information in the dynatrace application. Any idea?
thanks
I know I am sending information because dtrum is already defined and I am using console log to be able to see certain responses such as dtrum.sendSessionProperties(). But I can’t see the information in dynatrace.
Also, please have a look at this my guess is that you have problems with the beacon. Because everything else seems ok. And please check your firewall settings with this. Your firewall could be ripping off headers.
Your Dynatrace config seems ok, for me it is an external problem.