code: function defaultAnalytics() {
    if (window._gaq) {
      _gaq.push(["_trackPageview"]);
    }
    if (window.ga) {
      ga("send", "pageview", { page: location.pathname, title: document.title });
    }
  }
docs: /* istanbul ignore next