@flagship.io/js-sdk
Version:
52 lines (51 loc) • 1.99 kB
TypeScript
import { IPageView } from './IPageView';
export declare class PageView implements IPageView {
_customerAccountId: string;
_visitorId: string;
_hasAdBlocker: boolean;
_screenDepth: string;
_screenSize: string;
_doNotTrack: string;
_fonts: string;
_hasFakeBrowserInfos: boolean;
_hasFakeLanguageInfos: boolean;
_hasFakeOsInfos: boolean;
_hasFakeResolutionInfos: boolean;
_userLanguage: string;
_deviceCategory: string;
_pixelRatio: number;
_plugins?: string | undefined;
_documentReferer: string;
_viewportSize: string;
_touchSupport: string;
_currentUrl: string;
_userAgent: string;
_customerUserId?: string | undefined;
_timezoneOffset: number;
_eventCategory: string;
get customerAccountId(): string;
get visitorId(): string;
get hasAdBlocker(): boolean;
get screenDepth(): string;
get screenSize(): string;
get doNotTrack(): string;
get fonts(): string;
get hasFakeBrowserInfos(): boolean;
get hasFakeLanguageInfos(): boolean;
get hasFakeOsInfos(): boolean;
get hasFakeResolutionInfos(): boolean;
get userLanguage(): string;
get deviceCategory(): string;
get pixelRatio(): number;
get plugins(): string | undefined;
get documentReferer(): string;
get viewportSize(): string;
get touchSupport(): string;
get currentUrl(): string;
get userAgent(): string;
get customerUserId(): string | undefined;
get timezoneOffset(): number;
get eventCategory(): string;
constructor({ customerAccountId, visitorId, hasAdBlocker, screenDepth, screenSize, doNotTrack, fonts, hasFakeBrowserInfos, hasFakeLanguageInfos, hasFakeOsInfos, hasFakeResolutionInfos, userLanguage, deviceCategory, pixelRatio, plugins, documentReferer, viewportSize, touchSupport, currentUrl, userAgent, customerUserId, timezoneOffset, eventCategory }: Omit<IPageView, 'toApiKeys'>);
toApiKeys(): Record<string, boolean | string | number>;
}