Permalink
Browse files

use new google analytics.js tracker

  • Loading branch information...
1 parent bb6103f commit d763e8ba4a8688273c014b3ef64324e6fda16747 @panterch panterch committed Apr 28, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/jquery.address.js
View
@@ -101,6 +101,8 @@
_t.pageTracker._trackPageview(value);
} else if (_t._gaq !== UNDEFINED && $.isFunction(_t._gaq.push)) {
_t._gaq.push(['_trackPageview', decodeURI(value)]);
+ } else if ($.isFunction(_t.ga)) {
+ _t.ga('send', 'pageview', value);
}
}
},

0 comments on commit d763e8b

Please sign in to comment.