Signals the code execution for a passage sensor.
This allows you to get usage statistics about an application feature :
- total number of users or percentage of users who have used the feature over a period,
- minimum, average or maximum number of users who have used the feature every day, ...
// An "OrderCancellation" sensor was defined in the editor.
// Whenever an order is canceled, we identify the use of the feature
// by the user
TelemetryAddPassage(OrderCancellation)
Syntax
TelemetryAddPassage(<Sensor> [, <Category value>])
<Sensor>: Character string
Name of the passage sensor defined in the editor.
<Category value>: Optional character string
Value for the category defined in the editor.
Remarks
- The sensors must be defined in a custom telemetry.
- A WLanguage error occurs if the sensor is not a passage sensor.