It would be useful to include the initial url (before redirects) in the beacon alongside the url analyzed.
PageSpeed includes this bit of information in its full beacon. It is implemented using the FF's nsIObserverServiceIface to build a table of URLs. Firebug also uses this service for its Net panel.
I'll try to come up with some code.