Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 314 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 314 Bytes

send

A JavaScript client for track.

Usage

import Analytics from '@mathspace/send';

const analytics = new Analytics('http://example.com/v0', 'PUBLIC_WRITE_KEY');

analytics.identify('user-123');

analytics.send('click', {
  page: '/',
  button: 'Login',
});