I encountered a server that reported HTTPS on port 80 thus loading the http url for google. Rather than delve into why Apache was reporting port 80, I decided to use stock OSC request_type to get it. This should be bullet proof and work for all installations.
_uacct = "UA-XXXXXXX-X";
File is just the text file of this post with the exception that the text file has the url to get here :)