diff --git a/oss/piwik/trunk/.project b/oss/piwik/trunk/.project new file mode 100644 index 00000000..3b5c0239 --- /dev/null +++ b/oss/piwik/trunk/.project @@ -0,0 +1,11 @@ + + + HAWEBS-piwik + + + + + + + + diff --git a/oss/piwik/trunk/LICENSE b/oss/piwik/trunk/LICENSE new file mode 100644 index 00000000..6d5606bb --- /dev/null +++ b/oss/piwik/trunk/LICENSE @@ -0,0 +1,2 @@ +# GNU/GPL v3 or later +see misc/license.txt diff --git a/oss/piwik/trunk/README b/oss/piwik/trunk/README new file mode 100644 index 00000000..91fadb07 --- /dev/null +++ b/oss/piwik/trunk/README @@ -0,0 +1,59 @@ + Piwik - piwik.org + +Description +=========== +Piwik is an open source web analytics software. +It gives interesting reports on your website visitors, your popular pages, +the search engines keywords they used, the language they speak… and so much more. + +Piwik aims to be an open source alternative to Google Analytics. + +Mission statement +================= +« To create, as a community, the leading international open source + web analytics application, providing access to all functionality + through open components and open APIs. » + +License +======= +Piwik is released under the GPL v3 license, see misc/license.txt + +Requirements +============ +- php 5.1.3 or greater +- mysql 4.1 or greater, mysqli or PDO library must be enabled +- OS / server independant +See http://piwik.org/docs/requirements/ + +Install +======= +- Upload piwik in your webserver +- Point your browser to the directory +- Follow the steps +- Add the given javascript code to your pages +See http://piwik.org/docs/installation/ + +Changelog +========= +See http://piwik.org/changelog/ + +API +=== +All the data is available via APIs for example to get todays keywords in XML +?module=API&method=Referers.getKeywords&idSite=1&period=month&date=today&format=xml + +or yesterday visits information in JSON +?module=API&method=VisitsSummary.get&idSite=1&period=month&date=yesterday&format=json + +Check the full documentation on http://dev.piwik.org/trac/wiki/API/Reference + +Generate fake data +================== +To generate thousands of fake visits to get some data to play with, +you can see the script /misc/generateVisits.php +you can edit the number of visits to generate, the number of actions per visit, and the days + +Contact +======= +http://piwik.org +hello@piwik.org diff --git a/oss/piwik/trunk/index.php b/oss/piwik/trunk/index.php new file mode 100644 index 00000000..59bd9ca7 --- /dev/null +++ b/oss/piwik/trunk/index.php @@ -0,0 +1,60 @@ +init(); + $controller->dispatch(); +} diff --git a/oss/piwik/trunk/piwik.js b/oss/piwik/trunk/piwik.js new file mode 100644 index 00000000..8ba472ed --- /dev/null +++ b/oss/piwik/trunk/piwik.js @@ -0,0 +1,15 @@ +/* + * Piwik - Web Analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later + * @version $Id: piwik.js 1931 2010-03-18 06:51:50Z matt $ + */ +var Piwik,piwik_log,piwik_track;if(!this.Piwik){Piwik=(function(){var b,f={},d=document,c=navigator,g=screen,l=window,i=l.location.hostname,h=false,o=[];function n(q){return typeof q!=="undefined"}function e(t,s,r,q){if(t.addEventListener){t.addEventListener(s,r,q);return true}else{if(t.attachEvent){return t.attachEvent("on"+s,r)}}t["on"+s]=r}function k(r,u){var q="",t,s;for(t in f){s=f[t][r];if(typeof s==="function"){q+=s(u)}}return q}function m(q){if(n(b)){var r;do{r=new Date()}while(r.getTime()0)&&(af.substr(ae)==ac.substr(1))){return true +}}}return false}function M(ae,ad){var af,ac="(^| )(piwik[_-]"+ad;if(n(ae)){for(af=0;afmain(); + ob_end_flush(); + printDebug($_COOKIE); +}