Backported 0dfa5f8. Switched to async google analytics code.