BitAnalytics 0.2.1 with GA

This commit is contained in:
Jean-Baptiste Dominguez 2018-07-25 16:17:42 +09:00
commit bba85794ac
10 changed files with 245 additions and 66 deletions

View file

@ -76,9 +76,9 @@ angular.module('copayApp.controllers').controller('preferencesNotificationsContr
emailService.updateEmail(opts);
var channel = "firebase";
if (platformInfo.isNW) {
channel = "ga";
var channel = "ga";
if (platformInfo.isCordova) {
channel = "firebase";
}
var log = new window.BitAnalytics.LogEvent("settings_email_notification_toggle", [{
"toggle": $scope.emailNotifications.value