2.0.0 • Published 1 year ago

utrigg-analytics-react v2.0.0

Weekly downloads
-
License
GNU LGPLv3
Repository
-
Last release
1 year ago

utrigg-analytics-react release candidate 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

NameTypeDescription
aliasstringUniq identifier from uTrigg platform
2.0.0

1 year ago