Funnel automation trigger that fires when a page matching a configured path, website and resource type is viewed. The path may end with a wildcard, eg "/resources/*", to match any page under that prefix. The website and type fields are optional; when blank they leave that part of the match unconstrained. Registered under the trigger type id "pageViewTrigger" via PageViewedFunnelTriggerType, and evaluated against page-hit events raised while a profile browses a website.
Group: Journeys
Implements: FunnelTrigger, Serializable
Properties
| Property | Returns | Description |
|---|---|---|
| description | String | Human-readable summary of this trigger's configuration, combining the configured path, website and resource type. |
| fields | List<Pair<ExtraField,Object>> | The editable fields for this trigger's configuration (path, website and resource type), used to render the trigger's settings form in the journey automation editor. |
| funnelTriggerTypeId | String | The trigger type id this trigger is registered under, used to look up its PageViewedFunnelTriggerType. |
| path | String | The URL path this trigger matches on. May end with a wildcard, eg "/resources/*", to match any path with that prefix, or be blank to leave the path unconstrained. |
| type | String | Resource type the viewed page must match, either "html" or "pdf". When blank, any resource type matches. |
| websiteName | String | Name of the website this trigger is scoped to. When blank, the trigger matches page views on any website. |
Methods
getFunnelTriggerTypeId()
Returns: String
The trigger type id this trigger is registered under, used to look up its PageViewedFunnelTriggerType.
getFields()
Returns: List<Pair<ExtraField,Object>>
The editable fields for this trigger's configuration (path, website and resource type), used to render the trigger's settings form in the journey automation editor.
getDescription()
Returns: String
Human-readable summary of this trigger's configuration, combining the configured path, website and resource type.
getPath()
Returns: String
The URL path this trigger matches on. May end with a wildcard, eg "/resources/*", to match any path with that prefix, or be blank to leave the path unconstrained.
getWebsiteName()
Returns: String
Name of the website this trigger is scoped to. When blank, the trigger matches page views on any website.
getType()
Returns: String
Resource type the viewed page must match, either "html" or "pdf". When blank, any resource type matches.