Reusing Piwik in any way is allowed as long as you respect the GPL license. If your product, software, or website uses Piwik but all the code (including your modifications) stays within your company or server, you have the freedom to keep your code and not be bound to the GPL License. For example, you can change the header and footer to reflect your brand, change the colors, or add new features and plugins on your own copy of Piwik.
If you distribute a modified version of Piwik, or software that includes Piwik as a module, or develop a website for a customer/client that integrates closely with Piwik, you must give access to the code source and publish all the code under the GPL.
If you create and distribute a new custom plugin built for Piwik, as a Plugin developer it is allowed to release the plugin under a different license than GPL, as long as the plugin is distributed separately from the Piwik platform. For example some third party plugins from our open Marketplace may be released under a different license than GPL.
Similarly individual components, libraries and plugins within a Piwik instance may be available for reuse under a different license. Please refer to the LEGALNOTICE file included in the distribution.
You may want to learn more about the GPL License and look at the GPL FAQ. As well as respecting the GPL license, you must also reuse the word Piwik with care. Please see the Piwik Trademark page for more details about how to reuse the name Piwik in your modified version of Piwik. Finally, if you modify Piwik and add new features or fix existing bugs, please submit your improvements back to the Piwik team: together we will build the best Free/Libre open analytics platform!