A funnel goal that is attained when a lead's stage is set to one of a configured list of stage names. Matches on LeadUpdatedEvent, which is fired whenever a lead's data, stage or ownership changes. It only considers the lead's current stage name, so it fires the first time that stage matches after any update, not just on the transition into it. A lead with a blank stage name never matches.
Group: Journeys
Extends: Goal
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| description | String | A fixed label for this goal type, used in listings. It does not reflect the configured stage names. |
| nextNodeId | String | The id of the journey node to move to when this goal is attained. |
| stageNames | String | The raw, unparsed list of stage names this goal matches against, as stored on the funnel definition. Use stageNames() to get it as a cleaned list of individual names. |
Methods
getDescription()
Returns: String
A fixed label for this goal type, used in listings. It does not reflect the configured stage names.
getStageNames()
Returns: String
The raw, unparsed list of stage names this goal matches against, as stored on the funnel definition. Use stageNames() to get it as a cleaned list of individual names.
getNextNodeId()
Returns: String
The id of the journey node to move to when this goal is attained.