/**
 * @license Angulartics v0.17.0
 * (c) 2014 Luis Farzati http://luisfarzati.github.io/angulartics
 * Adobe analytics(Omniture) update contributed by http://github.com/ajayk
 * License: MIT
 */
(function(angular) {
'use strict';

/**
 * @ngdoc overview
 * @name angulartics.adobe.analytics
 * Enables analytics support for Adobe Analytics (http://adobe.com/analytics)
 */
angular.module('angulartics.adobe.analytics', ['angulartics'])
.config(['$analyticsProvider', function ($analyticsProvider) {

  $analyticsProvider.settings.trackRelativePath = true;

  $analyticsProvider.registerPageTrack(function (path) {
    if (window.s) s.t([path]);
  });

  /**
   * Track Event in Adobe Analytics
   * @name eventTrack
   *
   * @param {string} action Required 'action' (string) associated with the event
   *
   *
   */
  $analyticsProvider.registerEventTrack(function (action) {
    if (window.s) {
    if(action) {
      if(action.toUpperCase() === "DOWNLOAD")
         s.tl(this,'d',action);
      else if(action.toUpperCase() === "EXIT")
         s.tl(this,'e',action);
    }
    else
      s.tl(this,'o',action);
    }
  });

}]);
})(angular);

@@ -893,24 +893,26 @@
 ow.s) %7B%0A    
+  
 if(action) %7B
@@ -908,24 +908,26 @@
 f(action) %7B%0A
+  
       if(act
@@ -961,32 +961,33 @@
 LOAD%22)%0A         
+ 
 s.tl(this,'d',ac
@@ -995,24 +995,26 @@
 ion);%0A      
+ 
+ 
 else if(acti
@@ -1043,32 +1043,33 @@
 EXIT%22)%0A         
+ 
 s.tl(this,'e',ac
@@ -1079,18 +1079,16 @@
 n);%0A    
-%7D%0A
     else
@@ -1090,24 +1090,28 @@
  else%0A      
+ 
+   
 s.tl(this,'o
@@ -1117,24 +1117,32 @@
 o',action);%0A
+      %7D%0A
     %7D%0A  %7D);%0A

Fix Adobe event tracking