Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/shershen08/vue-ya-metrica

Yandex.Metrica component for Vue.js
https://github.com/shershen08/vue-ya-metrica

vuejs2 yandex-metrika

Last synced: about 1 month ago
JSON representation

Yandex.Metrica component for Vue.js

Lists

README

        

# Yandex.Metrica component for Vue.js

Vue.js v 2.x used

## Installation

```
npm i vue-ya-metrica --save
```

## Usage

```
import VueYaMetrica from 'vue-ya-metrica'

components: {
VueYaMetrica
//....
}

```

The numeric attribute `counter` **is required**; `enable-hash` and `enable-webvisor` are optional flags.

### TODOs

- add [counter initialisation params](https://yandex.com/support/metrica/code/counter-initialize.xml) parsing

## License

MIT