Skip to main content

node-tracker.buildpageview

Home > @snowplow/node-tracker > buildPageView

buildPageView() function

Build a Page View Event Represents a Page View, which is typically fired as soon as possible when a web page is loaded within the users browser. Often also fired on "virtual page views" within Single Page Applications (SPA).

Signature:
declare function buildPageView(event: PageViewEvent): PayloadBuilder;

Parameters

ParameterTypeDescription
eventPageViewEventContains the properties for the Page View event
Returns:

PayloadBuilder

PayloadBuilder to be sent to