handle urls with hash # with google analytics
问题 I'm developing a js single-page web application using a javascript client side mvc (angular.js in this case) I added google analytic to the site, but from what I could see so far (at least in realtime) google doesn't take into account the part of the uri after the hash that is I have a url like mydomain.com.ar/#/ideas/1 but for google analytics it looks just like mydomain.com.ar/ any idea? 回答1: You need to parse the parameters after # and send the data by using _trackPageview in order to see