Page Action event

interface IPageActionTelemetry {
    actionType?: string;
    behavior?: string | number;
    clickCoordinates?: string;
    content?: any;
    contentVer?: string;
    iKey?: string;
    measurements?: {
        [key: string]: number;
    };
    name: string;
    pageName?: string;
    pageType?: string;
    parentId?: string;
    properties?: {
        [key: string]: any;
    };
    refUri?: string;
    targetUri?: string;
    timeToAction?: number;
    uri?: string;
}

Hierarchy

  • IEventTelemetry
    • IPageActionTelemetry

Properties

actionType?: string

One of the awa.actionType values

behavior?: string | number

One of the awa.behavior values.

clickCoordinates?: string

X, Y representing the absolute co-ordinates withrespect to topleft corner of the page. This should be normalized for the screen resolution to provide better heat map.

content?: any

JSON-formatted array of content acted upon

contentVer?: string

Version indicating content version which aids in parsing the content.

iKey?: string

custom defined iKey

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

Property bag to contain additional custom measurements (Part C)

-- please use properties instead

name: string

An event name string

pageName?: string

Title of the page

pageType?: string

Page type

parentId?: string

Content Id (Parent Id) of the parent in which the content was located;

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

Property bag to contain additional custom properties (Part C)

refUri?: string

Uri of the referrer, this is a convinence for adaptors to just leverage PageAction for click analytics without linking it to the respective Page Views.

targetUri?: string

Target uri for PageAction events

timeToAction?: number

Time taken in milliseconds since the user saw the page and took the action (such as click on a link, etc.). This will be in seconds.

uri?: string

A relative or absolute URL that identifies the page or other item. Defaults to the window location.