From 48de24ad8fece57ec475629841625e591de26fb5 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Mon, 14 Sep 2015 14:26:18 -0700 Subject: [PATCH] fix(analytics): Submit account provider type, org unit and version string without commit hash to mixpanel --- src/flux/stores/analytics-store.coffee | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/flux/stores/analytics-store.coffee b/src/flux/stores/analytics-store.coffee index f5aecf818..cf80e25d3 100644 --- a/src/flux/stores/analytics-store.coffee +++ b/src/flux/stores/analytics-store.coffee @@ -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() + })