Funnel trigger that matches when a lead submits a contact form or landing page identified by contactFormPath. Registered under the JSON type "contactFormTrigger". When a contact form submitted event is raised, matches compares the submitted form path against contactFormPath (any form matches if this is left blank) and, if websiteName is set, restricts matching to that website. On a match it records the submitted contact request's id against the lead under the field name contactFormTriggerId and returns the configured next node.
Group: Journeys
Extends: Goal
Implements: Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| contactFormPath | String | The path of the contact form or landing page this trigger matches against. |
| description | String | A short, human readable summary of what this trigger matches, shown in the funnel editor's node list. |
| nextNodeId | String | The id of the journey node the lead proceeds to when this trigger matches. |
| websiteName | String | The name of the website this trigger is restricted to. |
Methods
getDescription()
Returns: String
A short, human readable summary of what this trigger matches, shown in the funnel editor's node list.
getContactFormPath()
Returns: String
The path of the contact form or landing page this trigger matches against.
getWebsiteName()
Returns: String
The name of the website this trigger is restricted to.
getNextNodeId()
Returns: String
The id of the journey node the lead proceeds to when this trigger matches.