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

PropertyReturnsDescription
descriptionStringHuman-readable summary of this trigger's configuration, combining the configured path, website and resource type.
fieldsList<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.
funnelTriggerTypeIdStringThe trigger type id this trigger is registered under, used to look up its PageViewedFunnelTriggerType.
pathStringThe 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.
typeStringResource type the viewed page must match, either "html" or "pdf". When blank, any resource type matches.
websiteNameStringName 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.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.