@utrigg-analytics/react

1.0.0-beta • Public • Published

@utrigg-analytics/react License: LGPL v3

This plugin will help you implement uTrigg analytics to your single page application.

Requirements

  • React.
  • uTrigg account. To send data to

Installing

Package manager

Using npm:

npm install @utrigg-analytics/react

Configuration

import ReactDOM from 'react-dom/client';
import UtriggAnalytics from '@utrigg-analytics/react';

const root = ReactDOM.createRoot(document.getElementById('root'));

UtriggAnalytics.install(root, { alias: 'xxxxxxxxxx' });

Config options

Name Type Description
alias string Uniq identifier from uTrigg platform

Readme

Keywords

Package Sidebar

Install

npm i @utrigg-analytics/react

Weekly Downloads

1

Version

1.0.0-beta

License

GNU LGPLv3

Unpacked Size

11 kB

Total Files

4

Last publish

Collaborators

  • galanix-it