mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
fix(analytics): Submit account provider type, org unit and version string without commit hash to mixpanel
This commit is contained in:
parent
4274753271
commit
48de24ad8f
1 changed files with 6 additions and 0 deletions
|
@ -83,5 +83,11 @@ AnalyticsStore = Reflux.createStore
|
|||
"$last_name": account.me().lastName()
|
||||
"accountId": account.id
|
||||
"platform": process.platform
|
||||
"provider": account.displayProvider()
|
||||
"organizational_unit": account.organizationUnit
|
||||
"version_primary": atom.getVersion().split('-')[0]
|
||||
"version": atom.getVersion()
|
||||
})
|
||||
@analytics.people.set_once(account.id, {
|
||||
"First Seen": (new Date()).toISOString()
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue