WordPress.org

Plugin Directory

Test out the new Plugin Directory and let us know what you think.

WP-Piwik

This plugin adds a Piwik stats site to your WordPress or WordPress multisite dashboard.

Where can I find the Piwik URL and the Piwik auth token?

To use this plugin you will need your own Piwik instance. If you do not already have a Piwik setup, you have two simple options: use either Self-hosted or Cloud-hosted.

As soon as Piwik works, you'll be able to configure WP-Piwik: The Piwik URL is the same URL you use to access your Piwik, e.g. for the demo site: http://demo.piwik.org. The auth token is some kind of a secret password, which allows WP-Piwik to get the necessary data from Piwik. To get your auth token, log in to Piwik, click at your user name (top right) and click at "API" (left sidebar menu).

You can get a more detailed description here: https://piwik.org/blog/2015/05/wordpress-integration-wp-piwik-1-0/

I get this message: "WP-Piwik was not able to connect to Piwik using our configuration". How to proceed?

First, please make sure your configuration is valid, e.g., if you are using the right Piwik URL (see description above). Then, go to the "Support" tab and run the test script. This test script will try to get some information from Piwik and shows the full response. Usually, the response output gives a clear hint what's wrong:

The response output contains... * bool(false) and HTTP/1.1 403 Forbidden: WP-Piwik is not allowed to connect to Piwik. Please check your Piwik server's configuration. Maybe you are using a password protection via .htaccess or you are blocking requests from localhost/127.0.0.1. If you aren’t sure about this, please contact your web hoster for support. * bool(false) and HTTP/1.1 404 Not Found: The Piwik URL is wrong. Try to copy & paste the URL you use to access Piwik itself via browser. * bool(false) and no further HTTP response code: The Piwik server does not respond. Very often, this is caused by firewall or mod_security settings. Check your server logfiles to get further information. If you aren’t sure about this, please contact your web hoster for support.

Can I contribute to WP-Piwik as a translator?

You like to contribute to WP-Piwik translations? Please use the Transifex translation community.

Of course, I will add missing languages if requested, and I will also upload the existing language files of older WP-Piwik releases.

If you can't (or don not want to) use transifex, you can also translate languages/wp-piwik.pot delivered with WP-Piwik.

Thank you very much! :-)

Why does WP-Piwik require a newer PHP version than WordPress?

WP-Piwik requires a working Piwik instance which requires a higher PHP version, too. Furthermore, please have a look at the official PHP Unsupported Branches page. Even if your software still works with PHP 5.2, the PHP team stopped to deliver security patches in January 2011. Even PHP 5.3 does not get security patches anymore (end of life date was August 2014).

Tracking does not work on HostGator!

Try to enable the "avoid mod_security" option (WP-Piwik settings, Tracking tab) or create a mod_security whitelist.

Overview shortcode shows no unique visitors using a yearly range.

See Piwik FAQ.

Requires: 4.0 or higher
Compatible up to: 4.7.2
Last Updated: 2 months ago
Active Installs: 70,000+

Ratings

4.6 out of 5 stars

Support

2 of 7 support threads in the last two months have been marked resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

4 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1 100,2,2
100,3,3
100,3,3 100,4,4 100,2,2 100,1,1 100,1,1
100,8,8 100,4,4
100,2,2 80,5,4 100,1,1 100,1,1 100,1,1
86,7,6 80,5,4 100,3,3
100,1,1
100,3,3
100,2,2 100,5,5
100,1,1 100,1,1 100,2,2 100,2,2
100,2,2 78,9,7 100,3,3 100,4,4 100,2,2 100,1,1
100,5,5
71,7,5 100,1,1
100,2,2 100,2,2 100,2,2
100,1,1
60,5,3 100,2,2
80,5,4 91,11,10
75,4,3 100,1,1 100,1,1 100,1,1
100,1,1 77,13,10 67,15,10 100,1,1 100,1,1 100,1,1
100,6,6 100,1,1 100,5,5 100,3,3 100,1,1
0,5,0 100,4,4
93,14,13
80,5,4 100,1,1 100,4,4 100,4,4 100,4,4 100,10,10
100,10,10
100,4,4 88,8,7 100,8,8 100,4,4 78,9,7 100,1,1 100,1,1 100,2,2 100,4,4 100,7,7
75,4,3
100,8,8
100,5,5
100,1,1
100,4,4
75,4,3 50,2,1 83,6,5
100,1,1 90,10,9
100,1,1
0,1,0 100,1,1
33,3,1 0,1,0 100,1,1 67,6,4
80,5,4 100,4,4 100,7,7
100,8,8
100,1,1
67,6,4
67,3,2
100,1,1 86,7,6 100,1,1
75,4,3 0,1,0 100,2,2 100,1,1 100,1,1 100,3,3 100,4,4
100,2,2
100,1,1
100,1,1 100,1,1
100,2,2
50,2,1 100,1,1 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,2,2 100,2,2 100,4,4 100,6,6 100,2,2
100,4,4
100,2,2
100,6,6 100,1,1
100,1,1 100,3,3 100,5,5
100,2,2 100,2,2
100,1,1 100,4,4 100,1,1 100,1,1
100,6,6 100,4,4 100,2,2
100,5,5
100,2,2
100,2,2 100,3,3
100,3,3
100,1,1 100,1,1 100,2,2
100,3,3 100,3,3 100,3,3 100,4,4
100,1,1
100,4,4
100,1,1
100,4,4