Results tagged “analytics”

Piwik and Elgg

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:

  1. Install Piwik

  2. Create your Elgg plugin skeleton

  3. Create a view to hold your Piwik javascript code - in this case piwik/analytics

  4. Register a callback for the init:system event

  5. In the callback extend the footer/analytics view

  6. Install and activate the plugin

The structure of this very simple plugin looks like this:

Plugin Structure

You can download it here.


Recent Comments

  • Lars, thanks for the comment. To keep my development activity organized, could you ask this over on ...

    Cash Costello
    Piwik and Elgg
  • Hi, I'm new to Ellger? It is a fantastic system. Thank you for your video embed moudul! I have a q...

    Lars from Berlin, Germany
    Piwik and Elgg
  • Agreed. Piwik is great, even greater for elgg. Thanks Cash, appreciate your contribution as usual....

    Azmi Hayaza
    Piwik and Elgg
  • Thanks Cash, contributions always valuable....

    Uddhava dasa
    Piwik and Elgg