fix(analytics): Submit account provider type, org unit and version string without commit hash to mixpanel

This commit is contained in:
Ben Gotow 2015-09-14 14:26:18 -07:00
parent 041950e014
commit 68827c041b

View file

@ -83,5 +83,11 @@ AnalyticsStore = Reflux.createStore
"$last_name": account.me().lastName() "$last_name": account.me().lastName()
"accountId": account.id "accountId": account.id
"platform": process.platform "platform": process.platform
"provider": account.displayProvider()
"organizational_unit": account.organizationUnit
"version_primary": atom.getVersion().split('-')[0]
"version": atom.getVersion() "version": atom.getVersion()
}) })
@analytics.people.set_once(account.id, {
"First Seen": (new Date()).toISOString()
})