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

@ -145,9 +145,9 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
}
$scope.paymentReceivedCoin = $scope.wallet.coin;
var channel = "firebase";
if (platformInfo.isNW) {
channel = "ga";
var channel = "ga";
if (platformInfo.isCordova) {
channel = "firebase";
}
var log = new window.BitAnalytics.LogEvent("transfer_success", [{
"coin": $scope.wallet.coin,