[Mailman-Users] How to insert google-analytics.com in mailmanarchives
audit
audit at c2security.org
Wed Apr 22 01:47:47 CEST 2009
On Tue, 21 Apr 2009, Mark Sapiro wrote:
> 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.
>
I'm ran through the code again to double check it all and then also adding
statcounter in for comparison. So far it looks good so Might've missed
something that my daughter picked up. I'll know in the morning since it
seems google doesn't update their stats in real time
thanks again for your help.
John
> --
> 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