fixes bug 1109187 - google analytics

@camd or @bobsilverberg r?

I wanted to do specific calls to ajax endpoints but that's a bit more complicated and I'll try to do that later.