UNPKG

@piwikpro/tracking-base-library

Version:

Piwik PRO basic tracking library for the frontend.

17 lines (16 loc) 537 B
export type InitOptions = { nonce?: string; /** * Defaults to 'dataLayer' */ dataLayerName?: string; }; export type Initialize = (containerId: string, containerUrl: string, nonceOrOptions?: string | InitOptions) => void; export declare const init: Initialize; export declare function getInitScript({ containerId, containerUrl, dataLayerName, nonceValue, }: { containerId: string; containerUrl: string; dataLayerName?: string; nonceValue?: string; }): string; export declare const IS_DEBUG: boolean;