I'd like to remove the Google Analytics URL tracking code from the browser bar so that when a user copy / pastes the URL to share they don't bring along all the tracking data with them, which is both useless and able to skew the data down the road.

So I'm using history.js to run replaceState to basically get rid of the tracking data from the URL after a brief pause.

@MikeRobinson : I added the pause just in-case the GA ansynchronous tracker was still pulling information out of the URL when I run it.
– stevecomrieAug 13 '12 at 18:44

@MathieuImbert : That's completely true, but I'd rather have it work for "some and future" browsers rather then none at all. It's not mission critical, but it is nice to have.
– stevecomrieAug 13 '12 at 18:45

@stevecomrie as long as you are ready to drop Internet Explorer from this feature, the only possible drawback is breaking the browser back button. The user will need to click twice (tested in chrome, it might be different in other browsers) on the back button to go back to the previous page.
– TchoupiAug 13 '12 at 18:48