Skip to content

gjelsas/owncloud_piwik

 
 

Repository files navigation

owncloud_piwik

Track owncloud users with Piwik.

Requirements

  • Owncloud >= 8
  • Working piwik installation (tested with 2.14.3)
  • Empty custom variable slots on index 1, 2 and 3

What will be tracked?

  • Normal piwik stuff (url, page title, browser, ...)
  • User ID aka Owncloud user
  • App in first custom variable
  • Share ID in second custom variable (index.php/s/SHARE_ID)
  • Share ID + folder or file name in third custom variable

What will not be tracked?

  • Download
  • Outlink
  • File directory

Installation

  • Download and extract to OWNCLOUD_DIR/apps/piwik/
  • Enable app
  • If needed create a new site in your piwik installation
  • Insert piwik site id and url on the owncloud admin page (e.g. site id: 1, url: //domain.tld/piwik/)
  • If you are using owncloud 8 and piwik is hosted under a different domain as owncloud you need to use one of two possible proxy methods:
  • Add RewriteRule "^piwik/(.*)$" "http://piwik.tld/$1" [P] to your .htaccess
  • Add ProxyPass /piwik/ http://piwik.tld/ to your apache VirtualHost section

About

Track owncloud users with piwik

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 73.8%
  • PHP 26.2%