proper analytics tracking for Single Page App.