Skip to content

Instantly share code, notes, and snippets.

@mixonic
Created April 11, 2013 01:58
Show Gist options
  • Save mixonic/5360058 to your computer and use it in GitHub Desktop.
Save mixonic/5360058 to your computer and use it in GitHub Desktop.
routeChanged: (->
Em.run.next ->
path = window.location.pathname
window._gaq.push(['_trackPageview', path])
).observes('currentPath')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment