Piwik and XHTML 5: Document.write and Noscript mentions
Six hours later, pascal commented that I am not using the latest JS tag version. That evening, I replied:
I used the tag given to me from the Piwik 0.63 interface. It looked very similar to the one you linked to, which uses "document.write" to insert content (a script tag as it happens) into the document. "document.write" as well as the "noscript" tag are invalid in XHTML 5 (see the spec here about document.write and here about noscript, look for the bits about XML).
A year and a half later, Dariusz Pecuch commented that I should try the latest change from this ticket. He also pointed out some issues with my XHTML at the time: bad values of sitemap, webmaster, and technicalauthor for the rel attribute. I responded late that night:
Ah, I'm almost positive those
relattribute values validated before. The one (sitemap) is listed now as "proposed" and the other two no longer exist (webmasterandtechnicalauthor).I've modified the linked change to remove the
noscriptelement and thetypeattributes on thescripttags. Seems to work. I will email you as well.
< From post 'Piwik and XHTML 5: Document.write and Noscript'