PageViewData
|
Type |
Interface |
|
Extends | |
|
Import path |
|
Data for VIEW events.
Signature
Properties
|
Name |
Type |
Description |
Value |
|---|---|---|---|
|
|
|
Optional. The ID of a personalized page variant. |
|
|
|
|
Optional. The URI of the webpage that linked to the webpage where the event was captured. Default for browser-side events: inferred from Default for server-side events: |
|
|
|
|
Optional. Whether to add every UTM parameter from the URL of the current webpage to the event object. Default: |
|
|
|
Optional. Any custom data to collect about an event in addition to the other attributes provided for the event data. |
| |
|
|
|
Optional. Important Requires a Sitecore Search subscription. Sitecore Search data about the event. If set, the event and all its data will be available in Sitecore Search. Construct according to the Sitecore Search Events API reference and data model. |
N/A |
Examples
Here's an example event data object for a VIEW event with optional event data and extension data:
By default, VIEW events include UTM parameters. Consider the following URL:
A VIEW event captured on the previous URL will contain all the UTM parameters in the event data: