replacing awstats with piwik

Discussion in 'Feature Requests' started by dynamind, Feb 22, 2012.

  1. dynamind

    dynamind Member

    dear developers,

    is it possible to replace awstats with the popular analytics suite piwik with ispconfig3 integration?
     
    Last edited: Feb 22, 2012
  2. falko

    falko Super Moderator ISPConfig Developer

    What kind of integration do you mean? You can simply install Piwik in your web site and integrate Piwik's JavaScript code in your pages (just like for Google Analytics).
     
  3. dynamind

    dynamind Member

    I mean integration within ispconfig

    instead of awstats/webalizer or as an additional option?

    regards
     
  4. falko

    falko Super Moderator ISPConfig Developer

    But how should that work? Piwik doesn't work on Apache/nginx access logs - you must always integrate JavaScript code in your web sites.
     
  5. dynamind

    dynamind Member

    Last edited: Feb 27, 2012
  6. ircf

    ircf New Member

    About Piwik integration

    Hello,

    I think a perfect Piwik integration into ISP Config3 would be just to add a radio button "Piwik" next to Webalizer and Awstats.

    When enabled, this would (via a web service/Piwik API) create a piwik user for the website and return the user ID.

    Then two radio buttons would display :
    - manual integration (default) : display the JS code with user ID (like in Google Analytics).
    - automatic integration : add an apache filter in the virtualhost config to automatically append the javascript code on each website page like here

    EDIT : Or maybe there is a way to insert a JS tracking code without a siteid (then Piwik would "detect" site from its referer domain ?). I haven't found such an option on Piwik site though... I'm thinking about this because we'll soon have to migrate hundred of sites from Awstats to Piwik and that would be nice if we could juste create all sites in piwik and then enable apache filter for all websites.

    EDIT2 : In our setup, Piwik will be installed on a separate VM because it will handle all our websites stats, that's why I suggested an integration with ISP COnfig using web services and/or Piwik API.
     
    Last edited: Dec 20, 2013

Share This Page