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
Parameter | Type | Description |
---|---|---|
event | PageViewEvent | Contains the properties for the Page View event |
PayloadBuilder
PayloadBuilder to be sent to