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

Catch actionId with dtrum for autodetected XHR

Romanenkov_Al3x
DynaMight Champion
DynaMight Champion

Hello folks!

I am trying to instrument web app with dtrum now and I have simple question.

I want to add additional information to XHR action (for example "click on purchase").  

Customer really want to save auto-detection XHR actions instead create custom action.

There is no problem to get actionID when we create custom action with dtrum:

 

 

var someactionid = dtrum.enterAction('SomeAction');

 

 

var  someactionid will have value of our actionId. 

With this we can send additional user action property:

 

 

function addDoubleProperties(actionId) {
dtrum.addActionProperties(actionId, null, null, dbl);
}

 

 

But what can I do in case that this action not custom - just regular normal autodetected XHR action.

I can't use workaround to have user session prop instead user action property. I need to have exactly user action prop.

Thanks.

 

Regards,

Alex Romanenkov

DT_NGINX_FORCE_UNKNOWN_VERSION_INSTRUMENTATION=1
0 REPLIES 0

Featured Posts