Home > @snowplow/node-tracker > buildPageView
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;| Parameter | Type | Description |
|---|---|---|
| event | PageViewEvent | Contains the properties for the Page View event |
Returns:
PayloadBuilder
PayloadBuilder to be sent to