Skip to content


Subversion checkout URL

You can clone with
Download ZIP
mixpanel analytics repackaged for Meteor
Latest commit 4f93df3 @belisarius222 version bump
Failed to load latest commit information. Update
mixpanel-client.js Redid client to fix load order
package.js Added client-side lib and metadata files
smart.json version bump


mixpanel analytics repackaged for Meteor

current version of the snippet that loads the other script: 1.2 current version of the mixpanel script loaded from their CDN: 2.2

You'll need to call mixpanel.init('API_KEY_GOES_HERE') in your app code.

The default mixpanel snippet starts loading the bigger mixpanel script from their CDN immediately, assuming that mixpanel.init will be called immediately after the snippet. In Meteor, this isn't necessarily the case because this package will load and then a bunch of other things might happen before your app code gets called.

For this reason, I've modified the snippet to only start loading the other script during the init function, so you can feel free to call mixpanel.init from Meteor.startup or anywhere else in your app.

Something went wrong with that request. Please try again.