PLT-3753 Added Segment analytics (#3972)

Этот коммит содержится в:
David Lu
2016-09-06 18:51:27 -04:00
коммит произвёл enahum
родитель 47d77d2589
Коммит 51501f920c
44 изменённых файлов: 2704 добавлений и 41 удалений

Просмотреть файл

@@ -241,6 +241,7 @@ func getClientConfig(c *model.Config) map[string]string {
props["EnablePostIconOverride"] = strconv.FormatBool(c.ServiceSettings.EnablePostIconOverride)
props["EnableTesting"] = strconv.FormatBool(c.ServiceSettings.EnableTesting)
props["EnableDeveloper"] = strconv.FormatBool(*c.ServiceSettings.EnableDeveloper)
props["EnableDiagnostics"] = strconv.FormatBool(*c.LogSettings.EnableDiagnostics)
props["SendEmailNotifications"] = strconv.FormatBool(c.EmailSettings.SendEmailNotifications)
props["SendPushNotifications"] = strconv.FormatBool(*c.EmailSettings.SendPushNotifications)