browser-tracker.trackpageview
Home > @snowplow/browser-tracker > trackPageView
trackPageView() function
Track a visit to a web page
Signature:declare function trackPageView(event?: PageViewEvent & CommonEventProperties, trackers?: Array<string>): void;
Parameters
Parameter | Type | Description |
---|---|---|
event | PageViewEvent & CommonEventProperties | The Page View Event properties |
trackers | Array<string> | The tracker identifiers which the event will be sent to |
void