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

@ -36,9 +36,9 @@ angular.module('copayApp.controllers').controller('addressbookAddController', fu
addressbook.address = translated.legacy;
}
var channel = "firebase";
if (platformInfo.isNW) {
channel = "ga";
var channel = "ga";
if (platformInfo.isCordova) {
channel = "firebase";
}
var log = new window.BitAnalytics.LogEvent("contact_created", [{
"coin": $scope.addressbookEntry.coin