TCA.userDataPoint

Records a user-defined data point for analysis.

TCA.userDataPoint(name, value);

Arguments

Name Description

name

(string) Name of the data point.

Do not begin a data-point name with any of the following strings:

HTTP, NON_HTTP, RETRY, mic_, stream_, mms_

value(number) The numeric value.

Return value

A promise that will be fulfilled with no arguments.

Example

Copy code
TCA.userDataPoint("myDP", 1).then(function(){
  TCA.done();
}).catch(function (error) {
  TCA.doneWithError(error);
});