WordPress.org

Plugin Directory

WP-Piwik

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

This plugin adds a Piwik stats site to your WordPress dashboard. It's also able to add the Piwik tracking code to your blog.

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.

Requirements: PHP 5.4 (or higher), WordPress 4.0 (or higher), Piwik 2.9 (or higher; 2.14.1 or higher recommended)

Languages: English, Dutch, French, German, Greek, Italian, Portuguese (Brazil). Partially supported: Albanian, Azerbaijani, Belarusian, Chinese (simplified), Lithuanian, Norwegian, Persian, Romanian, Russian, Spanish, Swedish, Turkish, Ukrainian

Note: If you vote "It's broken", please tell me about your problem. It's hard to fix a bug I don't know about! ;-)

This plugin is not created or provided by the Piwik project team.

Shortcodes

You can use following shortcodes if activated:

[wp-piwik module="overview" title="" period="day" date="yesterday"]

Shows overview table like WP-Piwik's overview dashboard. See Piwik API documentation on VisitsSummary.get to get more information on period and day. Multiple data arrays will be cumulated. If you fill the title attribute, its content will be shown in the table's title.

[wp-piwik module="opt-out" language="en" width="100%" height="200px"]

Shows the Piwik opt-out Iframe. You can change the Iframe's language by the language attribute (e.g. de for German language) and its width and height using the corresponding attributes.

[wp-piwik module="post" range="last30" key="sum_daily_nb_uniq_visitors"]

Shows the chosen keys value related to the current post. You can define a range (format: lastN, previousN or YYYY-MM-DD,YYYY-MM-DD) and the desired value's key (e.g., sum_daily_nb_uniq_visitors, nb_visits or nb_hits - for details see Piwik's API method Actions.getPageUrl using a range).

[wp-piwik]

is equal to [wp-piwik module="overview" title="" period="day" date="yesterday"].

Credits

  • Graphs powered by jqPlot (GPL 2.0 and MIT) and and jQuery Sparklines (New BSD License).
  • Donations: Marco L., Rolf W., Tobias U., Lars K., Donna F., Kevin D., Ramos S., Thomas M., John C., Andreas G., Ben M., Myra R. I., Carlos U. R.-S., Oleg I., M. N., Daniel K., James L., Jochen K., Cyril P., Thomas K., the Piwik team itself, and all people flattering this.
  • All users who send me mails containing criticism, commendation, feature requests and bug reports - you help me to make WP-Piwik much better!

Thank you all!

Requires: 4.0 or higher
Compatible up to: 4.2.3
Last Updated: 2015-7-22
Active Installs: 50,000+

Ratings

4.7 out of 5 stars

Support

28 of 36 support threads in the last two months have been 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,1,1
100,4,4