Action: event - evolv-ai/metrics GitHub Wiki

When an action is specified as an event, an Evolv event will be created using tag value as the event id.

Examples

Creating an event when any button is clicked

{
  "source": "dom",
  "key": "button",
  "on": "click",

  "action": "event",
  "tag": "button.clicked"
}

Creating an event when any button is clicked

{
  "source": "dom",
  "key": "button",
  "on": "click",

  "action": "event",
  "tag": "button.clicked"
}