Fix the cookie domain used for google analytics

* A change needed to make the google analytics integration compatible
  with the universal analytics engine. Should also work for the
  traditional code.

I'd like to see this backported to at least 2-3-stable.