My workplace currently hosts a few hundred SharePoint sites and subsites with WSS 3.0 and we'd like to start tracking site activity using Google Analytics or PIWIK. Either tool uses a snippet of JavaScript that you enter before the closing </body>
tag.
Now each site/subsite has a master page that we can manually add this to, but given the hundreds of sites and that most of them have many subsites with their own master pages, what is the best way to inject this tracking code?
Am I going about this the wrong way? It it normally standard practice to just review weblogs for SharePoint sites for this very reason? Can I automatically inject this snippet on all pages of all sites?