userActionMetricsHandler()

    userActionMetricsHandler()


    Article summary

    userActionMetricsHandler()

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

    Signature:

    $badger.userActionMetricsHandler(action, args)

    Parameters:

    parameterdescriptiondata typerequired?
    actionName of the action that was successfully completed. This can be any value which is meaningful to your X1 AppStringYes
    argsOptional arguments to include.The individual properties in args must be primitives (string, numeric or boolean). Nesting of properties is not supported.ObjectNo

    Return Values:

    None.

    Usage Example:

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

    Was this article helpful?