Skip to content
Extraits de code Groupes Projets
avatar de l'utilisateur
mattpiwik rédigé
Also adding integration test suite in place.

 * Adding new mechanism to trigger known tracking requests, then call all API methods get* and compare XML to the previous 'expected' XML.
 * make sure overwritten config files are not read during tests. Use defaults from global.ini.php.
 * piwik.php Tracker allow calling script to force Datetime and user IP for a specific request. 
 * Wrote 3 main tests
  * wrong tracking requests should not return error and should not record anything 
  * standard one visitor, 2 visits, with page view, download, outlink and goal tracked
  * Added integration test as an example in the ExampleAPI plugin (pretty simple to add testing code)
TODO 
 * Finish PiwikTracker and show it in UI
 * Show how to use image based tracker in UI
 * Add more tests (multi periods and multi sites) in Main.test.php
 * Fix failing Config.test.php test (when ran via all_tests.php doesn't fail otherwise)

git-svn-id: http://dev.piwik.org/svn/trunk@2429 59fd770c-687e-43c8-a1e3-f5a4ff64c105
52ce332c
Historique
                  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/gpl-3.0.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
==================
You can generate fake data in your Piwik install so you can play with the User Interface and 
get a feel for Piwik. You can go the Plugins page in the admin area, and enable the VisitorGenerator plugin.

Contact
=======
http://piwik.org
hello@piwik.org