458 - Add Statistic
This commit is contained in:
parent
4e1ddfe883
commit
8abaf184aa
7 changed files with 59 additions and 1 deletions
|
|
@ -75,6 +75,15 @@ angular.module('copayApp.controllers').controller('preferencesNotificationsContr
|
|||
};
|
||||
|
||||
emailService.updateEmail(opts);
|
||||
|
||||
var channel = "firebase";
|
||||
if (platformInfo.isNW) {
|
||||
channel = "ga";
|
||||
}
|
||||
var log = new window.BitAnalytics.LogEvent("settings_email_notification_toggle", [{
|
||||
"toggle": $scope.emailNotifications.value
|
||||
}], [channel]);
|
||||
window.BitAnalytics.LogEventHandlers.postEvent(log);
|
||||
};
|
||||
|
||||
$scope.soundNotificationsChange = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue