Metrics in Rules

Once a metric is defined, you can write a rule that uses it. Such a rule would be triggered by events that contain data relevant to the metric. In the rule, the metric is created or updated, depending on the situation, using a metric ontology function.

Tracking Fields

Similarly if you have defined tracking fields, they are also listed as arguments in the ontology functions, after the list of metric fields.

For more details, see Metric Ontology Functions.