Roundcube Webmail piwik analytics plugin

Roundcube logoEasy setup for piwik analytics in Roundcube Webmail.

This is a fork of roundcube_google_analytics.

Installation

piwik logo

  • Copy the contents of the extracted directory to plugins/piwik_analytics
  • Add piwik_analytics to $rcmail_config['plugins'] in config/main.inc.php

Configuration

  • Copy plugins/piwik_analytics/config/config.inc.php.dist to plugins/piwik_analytics/config/config.inc.php
  • Edit the new file and fill in all the appropriate settings.

Download

Roundcube Webmail piwik analytics plugin

Download

 

 

 

Date: March 29 2011

Version: 1.0

  • #1 written by Niels
    about 2 years ago

    Vielen Dank für das Plugin! Mir ist bei der Installation auf einer SSL-verschlüsselten Seite aufgefallen, dass beim Piwik-Code ein kleiner Fehler enthalten ist.

    So stimmt “pkBaseURL” für SSL-verschlüsselte Seiten nicht, die Zeile sollte:

    var pkBaseURL = ((“https:” == document.location.protocol) ? “https://’ . $rcmail->config->get(‘piwik_analytics_domain’) . ‘/” : “http://’ . $rcmail->config->get(‘piwik_analytics_domain’) . ‘/”);

    lauten, also eigentlich nur das ersten “http://” durch “https://” ersetzen.

    Nachdem ich das erledigt hatte, lief es bei mir auch über die SSL-Vershclüsselung.

    Schönen Gru?!

  • #2 written by Florian Beer
    about 2 years ago

    Vielen Dank für das Entdecken und Ausbessern des Fehlers!
    Ich habe das Plugin nun korrigiert und werde gleich eine neue Version hochladen.

    http://tracking.42dev.eu/projects/piwik-analytics

  • #3 written by Thomas
    about 1 year ago

    Hi,
    Good work on this extension, I appreciate you sharing this. I would have a question if I could. I am a hosting company and provide the Roundcube Webmail as a global install domain.com/webmail so this one install works for 50 or so websites. Is there a way to track all of them in the same Piwik user account.
    Best wishes,
    Thom

  • #4 written by Florian Beer
    about 1 year ago

    You could probably modify the tracking code to dynamically insert the correct site ID according to the current domain.
    The Piwik Documentation at http://piwik.org/docs/ especially http://piwik.org/docs/tracking-api/ should be able to help you.

  • #5 written by gusans
    about 1 year ago

    hi, great plugin!
    i’m trying to figure out how to get a user logins level stats, like a top ten of most logged users. do you know if is it posible using this plugin+piwik combination?

  • #6 written by Florian Beer
    about 1 year ago

    I’d suggest reading through the developer docs at http://piwik.org
    There should be a way to manually call the API and track those kind of things.