Piwik has been engineered so new features can easily be added without modifying core files. Use this section to leverage Piwik’s engine and build new features using plugins.
Piwik Framework Reference
- Piwik Plugins repository
Each Piwik plugin (submitted by third party) has its own ticket. Some plugins might not work with the latest Piwik version. Use with caution. These plugins are very useful to see simple examples of how to build plugins in Piwik.
- Great tutorial: How to write a Piwik Plugin [external]
- Display external data in Piwik
If you want to display external data in your Piwik dashboard (for example as a Widget, or in a new report), check out the simple ExampleUI plugin (in Settings > Plugins > Enable ExampleUI). If you look at the source code, you will see how easy it it to draw graphs, tables, tag clouds, etc. using the Piwik framework.
- Database schema overview: learn about how data is stored in the MySQL database
- Framework Overview : See how a standard request is handled by the framework.
- Functions : List of available functions when building plugins: user rights, database access, database queries and API calls.
- Hooks : List of events plugins can hook to.
- Security Checklist : Be sure to follow this checklist to build a secure plugin.
- Development process: Learn about the process to follow if you wish to contribute patches, improvements, new features in the official Piwik release
- Enable debug logging and SQL profiling
- Get started with Piwik development – Piwik Puppet Module + Vagrant
Other Guides
blog post that explains how to display custom data from another datatable table (mysqli) and display the data in piwik as a widget and a new menu entry: Piwik Custom Data Display
Pending http://dev.piwik.org/trac/ticket/280
http://piwik.org/participate/development-process/
Feedback on this page
Have you found an error in this page, or do you think some information is missing or not clear? We appreciate you taking the time to send us your suggestions and feedback on this page.