@pebosi opened this Issue on November 11th 2008 Contributor

The current code is:

<!-- Piwik -->
<a href="http://piwik.org" title="Web analytics api" onclick="window.open(this.href);return(false);">
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://xxx/" : "http://xxx/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
piwik_action_name = '';
piwik_idsite = 1;
piwik_url = pkBaseURL + "piwik.php";
piwik_log(piwik_action_name, piwik_idsite, piwik_url);
</script>
<object><noscript><p>Web analytics api <img src="http://xxx/piwik.php" style="border:0" alt="piwik"/></p></noscript></object></a>
<!-- End Piwik Tag -->

but i think it could be:

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://xxx/" : "http://xxx/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
piwik_action_name = '';
piwik_idsite = 1;
piwik_url = pkBaseURL + "piwik.php";
piwik_log(piwik_action_name, piwik_idsite, piwik_url);
</script>
<noscript><img src="http://xxx/piwik.php" style="border:0;display:none" alt="piwik"/></noscript>
<!-- End Piwik Tag -->

regards

@mattab commented on November 24th 2008 Owner

Peter, we may investisgate this change when we work out the ticket #355
thanks for your feedback.

@robocoder commented on April 2nd 2009 Contributor

For XHTML validation, the <object> tag can't be omitted because <noscript> is a block-level element.

This Issue was closed on April 2nd 2009
Powered by GitHub Issue Mirror