Fired when a page or other resource within a website is requested, so a funnel can advance a lead based on the pages a visitor views. Raised by FunnelManager for a Milton GetEvent on any resource within a website's root folder, provided the funnels app is active for that website. It triggers PageViewedGoal. Since the request may or may not be from a signed-in profile, getLeadProfile can return null and getRelatedLead is always null, since this event is not yet tied to a specific lead.
Group: Journeys
Implements: FunnelEvent
Properties
| Property | Returns | Description |
|---|---|---|
| href | String | The URL path of the requested page. |
| leadProfile | Profile | The currently signed-in profile making the request, if any. |
| page | CommonResource | The resource that was requested. |
| relatedLead | Lead | Always null, since a page hit is not yet associated with any particular lead. |
| triggeredGoal | Class<? extends Goal> | The goal type this event can advance, always PageViewedGoal. |
| website | Website | The website the requested page belongs to. |
Methods
getTriggeredGoal()
Returns: Class<? extends Goal>
The goal type this event can advance, always PageViewedGoal.
getPage()
Returns: CommonResource
The resource that was requested.
getHref()
Returns: String
The URL path of the requested page.
getWebsite()
Returns: Website
The website the requested page belongs to.
getLeadProfile()
Returns: Profile
The currently signed-in profile making the request, if any.
getRelatedLead()
Returns: Lead
Always null, since a page hit is not yet associated with any particular lead.