@piwikpro/tracking-base-library
Version:
Piwik PRO basic tracking library for the frontend.
9 lines (8 loc) • 469 B
TypeScript
/**
* Allows to define a list of internal domains or mobile app URIs. Used in outlink tracking for determining whether a link is an outlink and in cross domain linking for determining which links should have visitor ID parameter injected.
*/
export declare function setDomains(domains: string[]): void;
/**
* Returns list of internal domains (set with "setDomains" function and used in outlink tracking).
*/
export declare function getDomains(): Promise<string[]>;