2.0.0 • Published 1 year ago
utrigg-analytics-react v2.0.0
utrigg-analytics-react
- This is the repository for React
- For Vue see utrigg-analytics-vue.
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 |
2.0.0
1 year ago