usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [30/42] git commit: removing analytics
Date Wed, 05 Feb 2014 01:21:40 GMT
removing analytics


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/e4174744
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/e4174744
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/e4174744

Branch: refs/pull/29/merge
Commit: e4174744e3caf8af5c1c293c01c92ff255199408
Parents: f6b51f3
Author: Shawn Feldman <shawn.feldman@gmail.com>
Authored: Thu Jan 30 08:51:35 2014 -0700
Committer: Shawn Feldman <shawn.feldman@gmail.com>
Committed: Thu Jan 30 08:51:35 2014 -0700

----------------------------------------------------------------------
 portal/js/app-overview/getting-started.html | 30 +++++-------------------
 portal/js/global/page-controller.js         |  5 ++--
 2 files changed, 8 insertions(+), 27 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/e4174744/portal/js/app-overview/getting-started.html
----------------------------------------------------------------------
diff --git a/portal/js/app-overview/getting-started.html b/portal/js/app-overview/getting-started.html
index 8953427..b84f2c6 100644
--- a/portal/js/app-overview/getting-started.html
+++ b/portal/js/app-overview/getting-started.html
@@ -35,41 +35,23 @@
 
 
         <li ng-click="showSDKDetail('ios')"
-            analytics-on="click"
-            analytics-label="App Services"
-            analytics-category="Getting Started"
-            analytics-event="iOS SDK"><i class="sdk-icon-large-ios"></i></li>
+           ><i class="sdk-icon-large-ios"></i></li>
         <li ng-click="showSDKDetail('android')"
-            analytics-on="click"
-            analytics-label="App Services"
-            analytics-category="Getting Started"
-            analytics-event="Android SDK"><i class="sdk-icon-large-android"></i></li>
+            ><i class="sdk-icon-large-android"></i></li>
         <li ng-click="showSDKDetail('javascript')"
-            analytics-on="click"
-            analytics-label="App Services"
-            analytics-category="Getting Started"
-            analytics-event="JS SDK"><i class="sdk-icon-large-js"></i></li>
+           ><i class="sdk-icon-large-js"></i></li>
         <li><a target="_blank"
                ng-click="showSDKDetail('nocontent')"
                href="http://apigee.com/docs/usergrid/content/sdks-and-examples#nodejs"
-               analytics-on="click"
-               analytics-label="App Services"
-               analytics-category="Getting Started"
-               analytics-event="Node SDK"><i class="sdk-icon-large-node"></i></a></li>
+               ><i class="sdk-icon-large-node"></i></a></li>
         <li><a target="_blank"
                ng-click="showSDKDetail('nocontent')"
                href="http://apigee.com/docs/usergrid/content/sdks-and-examples#ruby"
-               analytics-on="click"
-               analytics-label="App Services"
-               analytics-category="Getting Started"
-               analytics-event="Ruby SDK"><i class="sdk-icon-large-ruby"></i></a></li>
+               ><i class="sdk-icon-large-ruby"></i></a></li>
         <li><a target="_blank"
                ng-click="showSDKDetail('nocontent')"
                href="http://apigee.com/docs/usergrid/content/sdks-and-examples#c"
-               analytics-on="click"
-               analytics-label="App Services"
-               analytics-category="Getting Started"
-               analytics-event="DotNet SDK"><i class="sdk-icon-large-net"></i></a></li>
+               ><i class="sdk-icon-large-net"></i></a></li>
        </ul>
 
       <section id="intro-container" class="row-fluid intro-container">

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/e4174744/portal/js/global/page-controller.js
----------------------------------------------------------------------
diff --git a/portal/js/global/page-controller.js b/portal/js/global/page-controller.js
index eb861e4..e7cf78f 100644
--- a/portal/js/global/page-controller.js
+++ b/portal/js/global/page-controller.js
@@ -20,8 +20,8 @@ AppServices.Controllers.controller('PageCtrl',
                      $routeParams,
                      $q,
                      $route,
-                     $log,
-                     $analytics) {
+                     $log
+                     ) {
 
   var initScopeVariables = function(){
     //$rootScope.urls()... will determine which URL should be used for a given environment
@@ -379,7 +379,6 @@ AppServices.Controllers.controller('PageCtrl',
       if(!$scope.showDemoBar){
         $rootScope.demoData = false;
       }
-      $analytics.pageTrack($location.path());
     });
     $scope.$on('applications-received', function (event, applications) {
       $scope.applications = applications;


Mime
View raw message