Skip to content

mathspace/send

Repository files navigation

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',
});