From f0aa5eb33465ed565c14c4d639735562775dff05 Mon Sep 17 00:00:00 2001 From: Alexandre Ferreira Date: Mon, 16 Nov 2015 22:54:03 -0300 Subject: [PATCH] Added analytics --- www/js/Boot.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/www/js/Boot.js b/www/js/Boot.js index dad938e..f337f8c 100644 --- a/www/js/Boot.js +++ b/www/js/Boot.js @@ -14,17 +14,20 @@ define(['phaser', 'Preloader', 'Menu', 'Game', 'GameOver', 'Ads'], function (Pha }; Boot.prototype.create = function () { + // start analytics + analytics.startTrackerWithId('UA-70227806-2'); + // start admob if (AdMob) { AdMob.createBanner({ - adId: 'ca-app-pub-6827992750433454/4589489121', + adId: 'ca-app-pub-7403543083567100/2876399875', autoShow: false, isTesting: true, overlap: true }); AdMob.prepareInterstitial({ - adId: 'ca-app-pub-6827992750433454/7542955524', + adId: 'ca-app-pub-7403543083567100/4353133078', autoShow: false, isTesting: true, overlap: true