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

6 lines (5 loc) 236 B
import type { Config, YaMetrika } from "./types.js"; export declare function getMetrikaInstance(config: Config | Record<string, any>, params: { /** If `true`, try using `Ya.Metrika` first */ tryMetrika1: boolean; }): YaMetrika;