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

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

Reporting event, how it works

ckc
Organizer

Hi,

Our frontend have been using repoting events for a couple of solution now but struggling with a current one. Can anyone explain to us why our top example works but bottom one doesn't ?

If we check in the browser what Is being send the user action seems to be send but never shows in appmon client.

Works


var action = dynaTrace.enterAction('action name1', 'click');

dynaTrace.reportValue('amount',
totalamount());


dynaTrace.leaveAction(action);

Does not work

var action = dynaTrace.enterAction('action
name1', 'click');

if (self.data.dataset.datasetset)
{


dynaTrace.reportValue('action name2',

self.data.dataset.datasetset);

}

if (self.1data.1dataset.1datasetset) {


dynaTrace.reportValue('action name3',

self.1data.1dataset.1datasetset);

}

dynaTrace.reportValue('action
name4', self.data ? "150000" : "300000");


dynaTrace.leaveAction(action);

/Claus


0 REPLIES 0