prior to adding RichFaces to our webapp we had a PhaseListener that we used to track user navigation in our site. Needless to say, this does not work any longer as the view id is always the home page using RichFaces and rerendering only fragments of the page at a time.
What I would like to do is find a place where I can record the view ids or the URLs of the jsf pages that are being retrieved through RichFaces/A4J. I looked at the A4Jfilter but it may be a challenge to figure out the next page from it.
Is there some place in the RichFaces architecture where I can easily insert some code to record the next viewId/URL being retrieved?