o.k., first, I love this forum, there always guys who like to help and do this at once....!
I don´t use google analytics or other, I use PIWIK. And this software, which is very good in ease of use and features and all, needs to place the code in all the pages (at least I think so and it worked until the update).
In old WB (2.6.7) including the code in the pages php-files makes the code appear in the source code of the page and the tracker (PIWIK) works. My idea is to get WB 2.7. to do this also. But I would accept any other solution of course. Here is the code of my home-site including the tracking code:
<?php
$page_id = 9;
require("../config.php");
require(WB_PATH."/index.php");
?>
<!-- Piwik -->
<a href="
http://piwik.org" title="Web 2.0 analytics" onclick="window.open(this.href);return(false);">
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.p
rotocol) ? "
https://www.musikunterricht-in-rosenheim.de/piwik/" : "
http://www.musikunterricht-in-rosenheim.de/piwik/");
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 2.0 analytics <img src="
http://www.musikunterricht-in-rosenheim.de/piwik/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript></object></a>
<!-- End Piwik Tag -->