A JavaScript client for track.
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',
});
A JavaScript client for track.
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',
});