cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Can we get javascript ADK reported value in Business Transaction Splitting ?

nitin_dumbre
Guide

Hi Team,

Using the Javascript ADK, we have logged some information on USER Actions purepath. Now we want to capture these information and want to use in splitting.


Will it be possible to get the value of Departure/Arrival/Date using measure ?



10 REPLIES 10

sebastian_kryst
DynaMight Leader
DynaMight Leader

I’ve had same story year ago and as I remember that was problem with using those values in BT’s. There are no good measure for such case. But in my example those values cames from mobile apps, maybe for web applications there is proper measure. Mobile and web apps has some sort of dedicated measures.

Sebastian


Thanks @sebastian k., In my these values are coming from FE.


dave_mauney
Dynatrace Champion
Dynatrace Champion

Does the "JavaScript ADK String Value" measure not work?



Yes, I have tried with "JavaScript ADK String Value" measure but it didn't work.

I'm not sure, whether my configuration is correct or not?


Her Is the Measure and BT configuration.


dave_mauney
Dynatrace Champion
Dynatrace Champion

My only suggestion is to not use a space inside the key and see if that helps any. If you continue to have issues, I would open a support ticket.


dave_mauney
Dynatrace Champion
Dynatrace Champion

Also, isn't "Customer selected" the first part of the User Action Name rather than a key for JavaScript Variable?


I m logging information using 'enterAction' function as below.

dynaTrace.enterAction('Customer selected product details:', productDetails, null, null);


Yes, "Customer selected" the first part of the User Action Name


dave_mauney
Dynatrace Champion
Dynatrace Champion

Thanks @Dave M.

I have used "reportString" to get the data using below javascript ADK code.


<script type="text/javascript">            
if (typeof window.dT_ != 'undefined'){               
          var dT_Clientstring = 'TestError';                   
dynaTrace.reportString('BookingError', dT_Clientstring); 
 }       
</script>

I have created the BT as per below and it is capturing the data.


So glad it worked for you! Good job!