Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 808 Bytes

File metadata and controls

26 lines (15 loc) · 808 Bytes

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

Returns:

PayloadBuilder

PayloadBuilder to be sent to