metricsHandler()
- Print
metricsHandler()
- Print
Article summary
Did you find this summary helpful?
Thank you for your feedback
metricsHandler()
Logs a metric not covered by other metrics handlers.
Signature:
$badger.metricsHandler(segment_name, args)
Parameters:
parameter | description | data type | required? |
---|---|---|---|
segment_name | The name of the launch segment which occurred completed | String | Yes |
args | The name of the launch segment which occurred completed. 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.metricsHandler("USER_VALIDATED", {
product_tier: "bronze"
});
Was this article helpful?