Attribute: extract - evolv-ai/metrics GitHub Wiki

The extract attribute provides a way of extracting values from the metric. This currently supports extracting values from dom elements and parameters from async events.

Current attributes include:

  • attribute - for a dom element attribute to extract
  • parse - for a regexp that will be used to cull the attribute for the desired conversion
  • expression - for expression to be used as a path to a specific value from object or json