Using WP v3.0.4 and Piwik v. 1.1.1
In my installation, the wp-piwik plugin stores the tracking code in the DB
(wp_options -> wp-piwik_jscode) in htmlencoded format. Like this:
& lt ;!-- Piwik --& gt; & lt;script type=& quot;text/j...
I fixed this by simply changing line the file wp-piwik.php line 97:
if ($bolDisplay) echo $strJSCode;
if ($bolDisplay) echo html_entity_decode($strJSCode);