33 lines
988 B
TypeScript
33 lines
988 B
TypeScript
import EventData = require('./EventData');
|
|
/**
|
|
* An instance of PageView represents a generic action on a page like a button click. It is also the base type for PageView.
|
|
*/
|
|
declare class PageViewData extends EventData {
|
|
/**
|
|
* Schema version
|
|
*/
|
|
ver: number;
|
|
/**
|
|
* Request URL with all query string parameters
|
|
*/
|
|
url: string;
|
|
/**
|
|
* Event name. Keep it low cardinality to allow proper grouping and useful metrics.
|
|
*/
|
|
name: string;
|
|
/**
|
|
* Request duration in format: DD.HH:MM:SS.MMMMMM. For a page view (PageViewData), this is the duration. For a page view with performance information (PageViewPerfData), this is the page load time. Must be less than 1000 days.
|
|
*/
|
|
duration: string;
|
|
/**
|
|
* Collection of custom properties.
|
|
*/
|
|
properties: any;
|
|
/**
|
|
* Collection of custom measurements.
|
|
*/
|
|
measurements: any;
|
|
constructor();
|
|
}
|
|
export = PageViewData;
|