Pageview telemetry interface

interface IPageViewTelemetry {
    iKey?: string;
    isLoggedIn?: boolean;
    measurements?: {
        [key: string]: number;
    };
    name?: string;
    pageType?: string;
    properties?: {
        duration?: number;
        [key: string]: any;
    };
    refUri?: string;
    startTime?: Date;
    uri?: string;
}

Hierarchy

  • IPartC
    • IPageViewTelemetry

Properties

iKey?: string

iKey String - custom defined iKey.

isLoggedIn?: boolean

isLoggedIn - boolean is user logged in

measurements?: {
    [key: string]: number;
}

Property bag to contain additional custom measurements (Part C)

-- please use properties instead

name?: string

name String - The string you used as the name in startTrackPage. Defaults to the document title.

pageType?: string

pageType String - page type

properties?: {
    duration?: number;
    [key: string]: any;
}

Property bag to contain additional custom properties (Part C)

Type declaration

  • [key: string]: any
  • Optionalduration?: number

    The number of milliseconds it took to load the page. Defaults to undefined. If set to default value, page load time is calculated internally.

refUri?: string

refUri String - the URL of the source page where current page is loaded from

startTime?: Date

Time first page view is triggered

uri?: string

uri String - a relative or absolute URL that identifies the page or other item. Defaults to the window location.