[Moin-user] SSL UserPreferences + Google Analytics

Jim Popovitch yahoo at jimpop.com
Tue May 1 23:41:59 EDT 2007


On Mon, 2007-04-30 at 09:42 +0200, Juergen Hermann wrote:
> On Sun, 29 Apr 2007 17:57:50 -0400, Jim Popovitch wrote:
> 
> >  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>'
> 
> Since you're on the JS level anyway, why not just check the protocol via JS and emit 
> the script tags conditionally?

Got some ideas on how to do this inside of page_header1? 

Tia,

-Jim P.





More information about the Moin-user mailing list