Add a listener on the
object to record each page view:history
history.listen(function (location) {window.ga("set", "page", location.pathname + location.search);window.ga("send", "pageview", location.pathname + location.search);});
Add a listener on the
object to record each page view:history
history.listen(function (location) {window.ga("set", "page", location.pathname + location.search);window.ga("send", "pageview", location.pathname + location.search);});
How well did you remember this?