pageView

The user viewed a page.

The user viewed a page. This event is tracked by default inside the Brytelytics API snippet. Whenever the Analytics library detects a URL change, a new page view is automatically logged.

The pageview event supports Google Analytics UTM codes. You can provide these manually, or they will be automatically tracked if omitted from the event but present in the URL. Learn more about UTM codes on the Google Analytics URL Builder help page

FieldTypeRequiredDescription
referrerstringNo

Override the referring page.

pageTitlestringNo

Override the title of the page.

pageURLstringNo

Override the URL of the page.

utmSourcestringNo

Where the campaign originated.

utmMediumstringNo

The campaign medium, for example email or cost-per-click.

utmTermstringNo

The search term used by the campaign.

utmContentstringNo

Used to differentiate different ads landing on the same page.

utmCampaignstringNo

The name of your campaign.

1/* pageView example */
2
3// Call the event with default and auto-determined values.
4brytescore( "pageView", {} );

Updated July 25, 2026