UNPKG

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

9 lines (8 loc) 437 B
import { App } from 'vue'; import type { Config } from './types.js'; import { YaMetrikaObject } from './ya-object.js'; export declare function initYandexMetrika(app: App, options: Config): void; export declare function useYandexMetrika(): YaMetrikaObject; export declare function updateYandexMerikaByConfig(options: Config, callbackOnReady?: () => void): void; export declare function setApp(app: App): void; export * from './types.js';