analytics.js
function canonicalPath() {
  var canon = canonical();
  if (!canon) return window.location.pathname;
  var parsed = url.parse(canon);
  return parsed.pathname;
}
function canonicalPath() {
  var canon = canonical();
  if (!canon) return window.location.pathname;
  var parsed = url.parse(canon);
  return parsed.pathname;
}
function canonicalPath ( ) { var canon = canonical ( ) ; if ( ! canon ) return window . location . pathname ; var parsed = url . parse ( canon ) ; return parsed . pathname ; }
Return the canonical path for the page.

@return {string}
Return the canonical path for the page .