@convivainc/conviva-js-appanalytics-performance-timing
Version:
Conviva Application Analytics Performance Timing Plugin
19 lines (18 loc) • 551 B
TypeScript
import { BrowserPlugin } from '@convivainc/browser-tracker-core';
declare global {
interface Window {
mozPerformance: any;
msPerformance: any;
webkitPerformance: any;
}
}
/**
* Adds Performance Timing context to events
*
* @remarks
* May not be fully populated when inital Page View fires
* Often a good idea to take the latest performance timing context
* for a given page view id when analysing in the warehouse
*/
declare function PerformanceTimingPlugin(): BrowserPlugin;
export { PerformanceTimingPlugin };