aterris / backbone.analytics

Simple Backbone and Google Analytics Integration

Home Page:http://andrewterris.com/backbone.analytics/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Track back button changes

aterris opened this issue · comments

The current implementation of hooking into navigate will trigger pageview when the navigate method is used. However, if the user then presses the back button, a new page view (on the page they are returning to) will not be fired, but should.

To do this, might have to bind to popstate myself, but not sure yet if there is an easier way

I am pretty sure this is totally wrong and can just be closed, but its late, so I'm going to leave it open for now