FlyerTalk Forums - View Single Post - Is anyone else getting this message?
View Single Post
Old Mar 21, 2007 | 1:35 pm
  #9  
ogmios
 
Join Date: Dec 2005
Location: YOW
Programs: AC*E, Alaska MVP Gold, FPC Premier, SPG Gold
Posts: 659
Originally Posted by fly_yag
PHP Code:
if(location.protocol=='http:'){
    glink="<scr"+"ipt src='http://www.google-analytics.com/urchin.js'></scr"+"ipt>";
}else{
    glink="<scr"+"ipt src='https://www.google-analytics.com/urchin.js'></scr"+"ipt>";
} 
Sorry but the https is correct in this case. The if-statement determines which protocol to use based on which type of website you are currently visiting.

The problem actually lies with Google not having their security certificate configured properly. You could try emailing them but I would imagine that they'll probably have this cleaned up pretty quick on their own.
You'd think if Google intended https to be used they would by the SSL certificate, no?
ogmios is offline