Giter Club home page Giter Club logo

cloud_piwik's Introduction

Piwik/Matomo for your Cloud

Track Nextcloud users with Piwik/Matomo.

Requirements

  • Nextcloud >= 11
  • Working Piwik/Matomo installation (tested with 2.14.3)
  • Empty custom variable slots on index 1, 2 and 3

What will be tracked?

  • Normal Piwik/Matomo 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

Installation

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

cloud_piwik's People

Contributors

sualko avatar dampfklon avatar gjelsas avatar yangboz avatar

Watchers

James Cloos avatar 12345 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.