yandex-metrika-vue3
Version:
**yandex-metrika-vue3** allows you to send data about visited pages to [Yandex Metrika]. ## Installation Install with [yarn]: ```bash $ yarn add yandex-metrika-vue3 ``` Install with [npm]: ```bash $ npm install yandex-metrika-vue3 --save ``` ## Ways to us
8 lines (7 loc) • 425 B
TypeScript
import { App } from "vue";
import type { YaMetrika } from "./types.js";
export declare function updateConfig(params: Record<string, any>): void;
export declare function checkConfig(): void;
export declare function loadScript(callback: () => void, scriptSrc?: import("./types.js").ScriptSrcTy): void;
export declare function createMetrika(app: App): YaMetrika;
export declare function startTracking(metrika: YaMetrika): void;