[Mailman-Users] How to insert google-analytics.com in mailmanarchives

Mark Sapiro mark at msapiro.net
Tue Apr 21 20:49:39 CEST 2009

audit wrote:

>On Tue, 21 Apr 2009, Mark Sapiro wrote:
>> audit wrote:
>>> This is the error that I get when I view the date and article for that
>>> date after I put the following code into the article.html file
>>> %(encoding)s %(prev)s %(next)s
>>> %(subject_html)s
>>> %(author_html)s %(email_html)s
>>> %(datestr_html)s
>> This says you need to double every '%' in the above code when adding it
>> to the template as in
>> document.write(unescape("%%3Cscript src='" + gaJsHost +
>> "google-analytics.com/ga.js'
>> type='text/javascript'%%3E%%3C/script%%3E"));
>I tried that and got the same errors as before. I'm just giving up on that 
>idea for now until I can work out something better.

If you are seeing uninterpolated substitutions in the resultant .html
files, somewhere in what you added to the template(s) there is an
undoubled '%'.

If you post a non-working template on a pastebin somewhere, I'll look
at it.

Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

More information about the Mailman-Users mailing list