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
- Host: GitHub
- URL: https://github.com/shershen08/vue-ya-metrica
- Owner: shershen08
- Created: 2017-03-28T11:15:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-19T10:30:31.000Z (over 7 years ago)
- Last Synced: 2025-02-01T01:33:31.259Z (10 months ago)
- Topics: vuejs2, yandex-metrika
- Language: JavaScript
- Size: 5.86 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-vue - vue-ya-metrica - Yandex.Metrica component for Vue.js (Integrations [π](#readme))
- awesome-vue-zh - δΈεΆθ
- awesome-vue - vue-ya-metrica - Vue plugin for Yandex.Metrica (Components & Libraries / Integrations)
- awesome-vue - vue-ya-metrica β 4 - Vue plugin for Yandex.Metrica (Integrations / Vue CLI 3 Plugins)
- awesome-vue - vue-ya-metrica - Vue plugin for Yandex.Metrica (Integrations / Vue CLI 3 Plugins)
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