send only the pathname and search to google analytics