fix page url default to check canonical and remove hash

remove the hash is to match google analytics's default behavior, since it makes sense that hashes aren't actually a different document. and then canonical is to match how we were checking it for `path` but not `url` before