forked from Archives/Athou_commafeed
oops
This commit is contained in:
@@ -2,7 +2,7 @@ var module = angular.module('commafeed.services', [ 'ngResource' ]);
|
|||||||
|
|
||||||
module.service('AnalyticsService', [ '$state', function($state) {
|
module.service('AnalyticsService', [ '$state', function($state) {
|
||||||
this.track = function(path) {
|
this.track = function(path) {
|
||||||
if (typeof variable === 'undefined') {
|
if (typeof ga === 'undefined') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
path = path || $state.$current.url.prefix;
|
path = path || $state.$current.url.prefix;
|
||||||
|
|||||||
Reference in New Issue
Block a user