While Google Analytics may be the most popular analytics service, there are times when you want to use your own hosted solution (intranet, control over data). Piwik is a great open source package that provides an impressive set of tools and a very nice look and feel. Using it with Elgg is extremely easy. You can write a plugin to do this in a few minutes as Elgg provides an analytics view in the footer that can be extended.
This is all it takes:
- Install Piwik
- Create your Elgg plugin skeleton
- Create a view to hold your Piwik javascript code - in this case piwik/analytics
- Register a callback for the init:system event
- In the callback extend the footer/analytics view
- Install and activate the plugin
The structure of this very simple plugin looks like this:

You can download it here.
Thanks Cash, contributions always valuable.
Agreed. Piwik is great, even greater for elgg. Thanks Cash, appreciate your contribution as usual.
Hi,
I'm new to Ellger?
It is a fantastic system. Thank you for your video embed moudul!
I have a question!
How can I insert the API Key???
I think in the embed.php but does not know how.
I hope you understand me, since my Englich is not as good.
Best Regards
Lars Krüger
Lars, thanks for the comment. To keep my development activity organized, could you ask this over on the Elgg site on my video embed page: http://community.elgg.org/pg/plugins/costelloc/read/384562/embed-video
I will say that an API key should not be required for that plugin.