function getHost(url) {
  return getLocation(url).hostname
}
Get host domain of url
@param  {String} url - href of page
@return {String} hostname of page

@example
 getHost('https://subdomain.my-site.com/')
 > subdomain.my-site.com