[Moin-user] SSL UserPreferences + Google Analytics

Jim Popovitch yahoo at jimpop.com
Sun Apr 29 17:57:50 EDT 2007


On Sun, 2007-04-29 at 23:46 +0200, Juergen Hermann wrote:
> On Sat, 28 Apr 2007 20:24:45 -0400, Jim Popovitch wrote:
> 
> >included in every page, including UserPreferences, thus causing browser
> >"mixed http/https page" messages.  Is there anyway to exclude
> >page_header1 from UserPreferences or any other page for that matter?  
> 
> Just omit the protocol in the URLs, i.e. href="//google.com/whatever".

That won't work for www.google-analytics.com, because
https://www.google-analytics.com will redirect to https://www.google.com
and then users get a dialog popup explaining that the cert for
www.google-analytics.com actually belongs to www.google.com "do you wish
to continue".

Just for reference, here's the page_header1 statement I am using (where
XXXXXX-X is my urchin account number):
 
  page_header1 = '<script
     src="http://www.google-analytics.com/urchin.js"
     type="text/javascript"></script><script
     type="text/javascript">_uacct =
     "UA-XXXXXX-X";urchinTracker();</script>'

Still, thanks for the suggestion.

-Jim P.





More information about the Moin-user mailing list