0.9.7 • Published 5 years ago

matomo-javascript-client v0.9.7

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

Matomo javascript client

npm package

Build status Coverage Known Vulnerabilities

A matomo javascript client which can be used both in nodejs and browsers.

Example

import MatomoClient from 'matomo-javascript-client';

const client = new MatomoClient('your-piwik-domain.example/piwik.php', 1);
client.track({
  actionName: 'push_it',
  url: 'https://example.com',
  uniqueUserId: '3b99e3e0759811e8',
  randomString: '905e6838-4c8e-11e9-8646-d663bd873d93',
  apiVersion: '1' 
});

More examples of usage can be found in the tests.

Installation

npm install -save matomo-javascript-client
0.9.7

5 years ago

0.9.6

5 years ago

0.9.5

5 years ago

0.9.4

5 years ago

0.9.3

5 years ago

0.9.2

5 years ago

0.9.0

5 years ago