Share this page

# TC.setUserDataPoint

Records a user-defined data point for analysis.

    TC.setUserDataPoint(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

    (async ()=>{
        await TC.setUserDataPoint("mpDP", 1);
    })();

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: