Kevin wrote:If i understand it correctly this is some kind of analytics / counter script.
These kind of scripts are usually hooked in the functions.php, so it gets information from every site of the forum.
What kind of integration for the portal do you want to have? Is there some kind of analytics overview addon, to be placed on index pages or whatever, you want to be displayed on the portal?
Hi Kevin.
Yes, this is an analytics/counter script. (like google analytics, but hosted by the user itself, own scripts, own DB etc.)
The website is
http://piwik.org/I just want the script to catch every user and all pages loaded.
It does not need to display anything (yet!!) I have the Piwik pages for that.
This is the code that Piwik gives to me to add to all pages:
- Code: Select all
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://handboogforum.nl/piwik/" : "http://handboogforum.nl/piwik/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script>
<!-- End Piwik Tag -->
I have another site, where I use Drupal, and it has an excellent integration of Piwik, it even distinguishes between different users and usergroups.
grtz,
Twan
The joy's of Archery can be found anywhere. Far places only offer exotic ways to suffer.