First, thanks for this script.
I have presently a problem with one of my websites. ( www.smallville-forums.com ) No data are recorded by Piwik. You can see that the code is correct, i don’t understand why it doesn’t work.
I have, on this web server, another website (using drupal cms), and everything is OK.
Anyone has a solution?
Is this forumn built with phpbb3?
If so where did you put it into the site?(i mean teh piwik code)
Thanks for the quick reply.
The forum is a phpbb2 as you can see here: www.smallville-forums.com.
I put the code in the footer, just before “”.
ok which footer file and which theme? It should be the overall footer file and if you have more than 1 theme make sure its the active one.
Yes the code is in the overall footer file and in the following template: fisubice (presently enabled). As you can see on www.smallville-forums.com, the code is active :
<a name="bot" id="bot"></a></td></tr></table></td></tr></table></td></tr></table>
<!-- Piwik -->
var pkBaseURL = (("https:" == document.location.protocol) ? "https://admin.lex-network.com/piwik/" : "http://admin.lex-network.com/piwik/");
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 2);
} catch( err )
</script><noscript><p><img src="http://admin.lex-network.com/piwik/piwik.php?idsite=2" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->
I just found the solution here: