Attribute: tag - evolv-ai/metrics GitHub Wiki

The tag attribute specifies the identifier of the metric (the same tag can be used multiple times in the config). For event actions, the tag is used as the event identifier. For bind actions, the tag is used as the audience attribute to bind a value to.'

Examples

For bind

{
  "source": "expression",
  "key": "window.data.productName",
  "action": "bind",
  "tag": "product.name"
}

For event

{
  "source": "dom",
  "key": "button",
  "action": "event",
  "on": "click",
  "tag": "button.clicked"
}