Skip to main content

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

ParameterTypeDescription
eventPageViewEvent & CommonEventPropertiesThe Page View Event properties
trackersArray<string>The tracker identifiers which the event will be sent to
Returns:

void