@piwikpro/tracking-base-library
Version:
Piwik PRO basic tracking library for the frontend.
13 lines (12 loc) • 518 B
TypeScript
/**
* Sets a custom dimension value to be used later.
*/
export declare function setCustomDimensionValue(customDimensionId: string | number, customDimensionValue: string): void;
/**
* Removes a custom dimension with the specified ID.
*/
export declare function deleteCustomDimension(customDimensionId: string | number): void;
/**
* Returns the value of a custom dimension with the specified ID.
*/
export declare function getCustomDimensionValue(customDimensionId: string | number): Promise<string | undefined>;