Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Does this work for single-page javascript applications using html5 pushStates or hash-bang URLs?


It does. Using the new Mixpanel JS library you would call:

mixpanel.track_pageview(window.location.href);




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: