[Moin-user] SSL UserPreferences + Google Analytics

Juergen Hermann jh at web.de
Mon Apr 30 03:42:34 EDT 2007


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?

Ciao, Jürgen






More information about the Moin-user mailing list