Skip to content

jasonbosco/mixpanel-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mixpanel-node

This library provides many of the features in the official javascript mixpanel library. It is easy to use, and fully async.

Installation

npm install mixpanel

Usage

var mixpanel = require('mixpanel');

var mp_client = new mixpanel.Client('YOUR MIXPANEL TOKEN');

mp_client.track("my event", {
	distinct_id: "some unique client id",
	as: "many",
	properties: "as",
	you: "want"
}, function(err) {
	if(err) throw err;
});

Attribution/Credits

Heavily inspired by the original js library copyright Mixpanel, Inc. (http://mixpanel.com/)

Copyright (c) 2012 Carl Sverre

License

Released under the MIT license. See file called LICENSE for more details.

About

A node.js API for mixpanel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published