The goal object is used to measure the effectiveness of an associated journey. Goals are only evaluated via their criteria or filter XML.
The activity must be formatted as specified below. The following JSON object will be included in the
goals array of a journey, as defined in the Journey Specification.
- When a journey is saved, each goal is saved.
- Goals are evaluated every 24 hours and upon exiting each wait activity.
metaData.conversionUnitproperty is a string that can be either "percentage" or "wholenumber".
metaData.conversionValueproperty is a number as a string.
configurationArguments.criteriaproperty is an XML string that defines a filter that is used as a data-gate to determine if a contact qualifies for this goal.