@utrigg-analytics/vue

1.0.0-beta • Public • Published

@utrigg-analytics/vue License: LGPL v3

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

Dependents (0)

Package Sidebar

Install

npm i @utrigg-analytics/vue

Weekly Downloads

0

Version

1.0.0-beta

License

GNU LGPLv3

Unpacked Size

11.3 kB

Total Files

4

Last publish

Collaborators

  • galanix-it