Skip to content

Commit

Permalink
Merge pull request #189 from panterch/master
Browse files Browse the repository at this point in the history
support for new google analytics.js tracker
  • Loading branch information
asual committed May 26, 2014
2 parents bb6103f + d763e8b commit 870ed7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/jquery.address.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
},
Expand Down

0 comments on commit 870ed7a

Please sign in to comment.