Leanplum for BitAnalytics. buy_bitcoin_click is now being tracked.
This commit is contained in:
parent
a54b30f6ae
commit
58a94aa0e0
6 changed files with 497 additions and 56 deletions
|
|
@ -1242,14 +1242,14 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
}
|
||||
|
||||
// Send a log to test
|
||||
var log = new window.BitAnalytics.LogEvent("wallet_opened", [], [channel, "adjust"]);
|
||||
var log = new window.BitAnalytics.LogEvent("wallet_opened", [], [channel, "adjust", 'leanplum']);
|
||||
window.BitAnalytics.LogEventHandlers.postEvent(log);
|
||||
|
||||
var actionBanner = new window.BitAnalytics.ActionFactory.createAction('click', {
|
||||
name: 'banner_click',
|
||||
class: 'track_banner_click',
|
||||
params: ['href-banner', 'id'],
|
||||
channels: [channel, 'adjust']
|
||||
channels: [channel, 'adjust', 'leanplum']
|
||||
});
|
||||
window.BitAnalytics.ActionHandlers.trackAction(actionBanner);
|
||||
|
||||
|
|
@ -1257,7 +1257,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
name: 'buy_bitcoin_click',
|
||||
class: 'track_buy_bitcoin_click',
|
||||
params: ['href', 'id'],
|
||||
channels: [channel, 'adjust']
|
||||
channels: [channel, 'adjust', 'leanplum']
|
||||
});
|
||||
window.BitAnalytics.ActionHandlers.trackAction(actionBuyBitcoin);
|
||||
|
||||
|
|
@ -1265,7 +1265,7 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr
|
|||
name: 'link_click_out',
|
||||
class: 'track_link_click_out',
|
||||
params: ['href', 'id'],
|
||||
channels: [channel]
|
||||
channels: [channel, 'leanplum']
|
||||
});
|
||||
window.BitAnalytics.ActionHandlers.trackAction(actionLinkClickOut);
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ angular.module('copayApp.services').factory('buyAndSellService', function(gettex
|
|||
name: 'buyandsell',
|
||||
icon: 'icon-buy-bitcoin2',
|
||||
sref: 'tabs.buyandsell',
|
||||
trackingClass: 'track_buy_bitcoin_click'
|
||||
});
|
||||
} else {
|
||||
servicesService.unregister({
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ angular.module('copayApp.services')
|
|||
}
|
||||
var log = new window.BitAnalytics.LogEvent("wallet_created", [{
|
||||
"coin": opts.coin
|
||||
}], [channel]);
|
||||
}], [channel, 'leanplum']);
|
||||
window.BitAnalytics.LogEventHandlers.postEvent(log);
|
||||
|
||||
return cb(null, walletClient, secret);
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ angular.module('copayApp.services').factory('servicesService', function(configSe
|
|||
title: 'Shapeshift',
|
||||
icon: 'icon-shapeshift',
|
||||
sref: 'tabs.shapeshift',
|
||||
trackingClass: 'track_link_click_out'
|
||||
}];
|
||||
|
||||
root.register = function(serviceInfo) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue