0.2.1 • Published 3 years ago

@analyticskit/matomo v0.2.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

@analyticskit/matomo

Installation

yarn add @analyticskit/matomo

Usage

const Analytics = require('@analyticskit/matomo');

const analytics = new Analytics({
  url: 'https://matomo-uat.lawyer5.cn/matomo.php',
  siteId: '1'
});

// User identity
analytics.identify('1000001');

// Sending events
analytics.track(['home', 'GetNewsList']);

React Navigation integration

Single page website integration

License

MIT

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago