1.0.0-beta • Published 1 year ago
@utrigg-analytics/vue v1.0.0-beta
@utrigg-analytics/vue 
- This is the repository for Vue 3 and Vue 2
- For React see @utrigg-analytics/react.
This plugin will help you implement uTrigg analytics to your single page application.
Requirements
- Vue. >= 2.0.0
- uTrigg account. To send data to
Installing
Package manager
Using npm:
npm install @utrigg-analytics/vue
Configuration
Here is an example configuration for the Vue 3.x.x:
import { createApp } from 'vue';
import UtriggAnalytics from '@utrigg-analytics/vue';
const app = createApp();
app.use(
UtriggAnalytics, // analytics plugin
{ alias: 'xxxxxxxxxx' } // config object
);
Here is an example configuration for the Vue 2.x.x:
import Vue from 'vue';
import UtriggAnalytics from '@utrigg-analytics/vue';
Vue.use(
UtriggAnalytics, // analytics plugin
{ alias: 'xxxxxxxxxx' } // config object
);
Config options
Name | Type | Description |
---|---|---|
alias | string | Uniq identifier from uTrigg platform |
1.0.0-stable
1 year ago
1.0.0-beta
1 year ago