Permalink
Browse files

Merge pull request #189 from panterch/master

support for new google analytics.js tracker
  • Loading branch information...
2 parents bb6103f + d763e8b commit 870ed7ab249a129a5da0c795e660ead5f49eb6c0 @asual committed May 26, 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 870ed7a

Please sign in to comment.