userActionMetricsHandler()

Prev Next

userActionMetricsHandler()

Logs a metric indicating that an end user took a specific action in the X1 Application.

Signature:

$badger.userActionMetricsHandler(action, args)

Parameters:

parameter description data type required?
action Name of the action that was successfully completed. This can be any value which is meaningful to your X1 App String Yes
args Optional arguments to include.The individual properties in args must be primitives (string, numeric or boolean). Nesting of properties is not supported. Object No

Return Values:

None.

Usage Example:

$badger.userActionMetricsHandler('tune', {channelNumber: "500", channelName: "abc"});