04
Note:
Click here to get an English description. 
Deutsche Beschreibung
Achtung: Das Plugin befindet sich derzeit noch in der Entwicklung, d.h. Fehler können nicht ausgeschlossen werden. Fehler bitte per Email melden. Das Plugin wird ohne jegliche Gewährleistung herausgegeben, d.h. die Nutzung geschieht auf eigene Verantwortung und Gefahr.
Name: WP-Piwik
Aktuelle Version: 0.6.4
Download: WordPress.org Plugin-Verzeichnis
Datum: 12.01.2010
Lizenz: GNU General Public License Version 3, 29 June 2007
Sprachen: Englisch, Deutsch, Albanisch, Weißrussisch
Beschreibung
Dieses Plugin fügt eine Piwik Statistik Seite zu Deinem WordPress Dashboard hinzu. Außerdem kann es den Piwik JavaScript Code automatisch über wp_footer in dein Blog einfügen. WP-Piwik wurde nicht durch das Piwik-Projektteam erstellt.
Voraussetzungen
Entwickelt und getestet wurde das Plugin unter WordPress 2.7 und 2.8. Zudem ist eine Piwik-Installation und zumindest View-Zugriff auf Deine Statistiken notwendig. Mehr über Piwik erfährst Du auf der Piwik-Webseite.
WPMU
Version 0.6.0 enthält eine experimentelle WPMU-Unterstützung.
Experimentell: Zur Zeit ist die WPMU-Unterstützung experimentell. Bitte teste es auch selbst einmal (z.B. mit einer lokalen Kopie Deines WPMU) bevor Du es im Livebetrieb verwendest.
Einfach:Kopiere WP-Piwik in Dein /wp-content/plugins Verzeichnis. Dadurch kann jeder Nutzer WP-Piwik selbst aktivieren und mit einer eigenen Piwik-Installation nutzen.
Erweitert:
- Kopiere den gesamten WP-Piwik-Ordner nach /wp-content/mu-plugins.
- Kopiere /wp-content/mu-plugins/wp-piwik/wpmu/wpmu-piwik.php nach /wp-content/mu-plugins/wpmu-piwik.php.
- Gehe auf die WPMU-Piwik Einstellungsseite und gebe die URL Deiner Piwik-Installation sowie Dein Auth-Token an. Du solltest eine neue, leere Piwik-Installation und einen Auth Token mit vollen Admin-Rechten verwenden, um jegliche Konflikte auszuschließen. WPMU-Piwik fügt automatisch eine neue Seite zu Piwik hinzu, sobald eines neues Blog zum ersten Mal aufgerufen wird.
- Nutzer können ihre eigenen Statistiken einsehen, Site Admins können alle Nutzerstatistiken einsehen.
Installation
- Aktuelle Version herunterladen
- ZIP-Datei in den Ordner wp-content/plugins entpacken
- Plugin in der WP-Administration aktivieren
- Im neuen ‘Einstellungen/WP-Piwik Stettings’-Menü die URL zu Deiner Piwik-Installation und Deinen Auth-Token angeben, danach speichern.
- Falls Du mehr als eine Seite verwaltest, musst du anschließend die richtige Seite auswählen und erneut speichern.
Deinstallation
Das Plugin bietet derzeit noch keine Deinstallationsroutine, d.h. die Optionsfelder wp-piwik_* müssen nach dem Deaktivieren des Plugins manuell gelöscht werden.
Bekannte Probleme
Keine bekannten Probleme.
Credits
- Albanische Sprachdatei [sq] von Besnik Bleta.
- Weißrussische Sprachdatei [be_BY] von FatCow.
To-Do-Liste
- Weitere Daten für das WP-Piwik Dashboard
- Widescreen-Unterstützung (mehr Spalten)
- Theme-Widgets
- Angezeigte Daten konfigurierbar machen
- Weitere Sprachen
- Code optimieren und kommentieren
- Deinstallationsroutine
(Die Reihenfolge ist beliebig und sagt nicht zwingend etwas über die Reihenfolge der Bearbeitung aus.)
Letzte Änderungen (Changelog)
0.6.4
- Unnötige Debug-Ausgabe entfernt
- Deutsche Sprachdatei aktualisiert
- WordPress Dashboard Widget: letzte 30 Tage Ansicht
0.6.3
- Zeile in der Besucherstatistik anklicken, ob Details für diesen Tag zu sehen
- WordPress Dashboard Widget: Übersicht
0.6.0
- Experimentelle WPMU-Unterstützung
- Google Chart API deaktivierbar
- Albanische [sq] Sprachdatei eingefügt
- Weißrussische [be_BY] Sprachdatei eingefügt
0.5.0
- Auswahl der Nutzerrollen, die auf die Statistiken zugreifen können
- Einige HTML-Fixes auf der Settings-Seite
0.4.0
- Tracking-Filter hinzugefügt
- Statistik über Auflösungen
- Statistik über Betriebssysteme
- Plugin-Statistik
0.3.2
- Falls allow_url_fopen = off (php.ini) wird versucht, statt file_get_contents CURL zu verwenden.
0.3.1
- WordPress 2.8 kompatibel
- Bugfix: Warnungen auf WP 2.8 Plugin-Seite
- Dashboard überarbeitet
- Teilweise optimierter Code
0.3.0
- Ansichten im WP-Piwik Dashboard als Module
- Blöcke der Dashboard-Seite zuklapp- und verschiebbar
- Deutsche Sprachversion
- Browserstatistik und Absprünge werden angezeigt
0.2.0
- Erste veröffentlichte Version.
Hinweis:
Hier geht es zur deutschen Beschreibung. 
English Description
Attention: This plugin is still under development, so errors are not impossible. Please tell me about problems via mail. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Name: WP-Piwik
Current version: 0.6.4
Download: Get it from the WordPress Plugin Directory
Date: 2010/01/12
License: GNU General Public License Version 3, 29 June 2007
Languages: English, German, Albanian, Belorussian
Description
This plugin adds a Piwik stats site to your WordPress dashboard. Also it is able to add your Piwik javascript code to your blog using wp_footer. WP-Piwik is not created or provided by the Piwik project team.
Requirements
This plugin has been created and tested with WordPress 2.7 and 2.8. You need a running Piwik installation and at least view access to your stats. Look at the Piwik website to get further information about Piwik.
WPMU
Version 0.6.0 includes experimental WPMU support.
Experimental: The WPMU support is currently experimental. Please test it on your own (e.g. using a local copy of your WPMU) before you use it in an user context.
Simple:Just add WP-Piwik to your /wp-content/plugins folder. So each user can enable WP-Piwik and use his own Piwik instance.
Extended:
- Add the whole WP-Piwik folder to /wp-content/mu-plugins.
- Copy /wp-content/mu-plugins/wp-piwik/wpmu/wpmu-piwik.php to /wp-content/mu-plugins/wpmu-piwik.php.
- Go to the WPMU-Piwik settings page and enter the Piwik URL and the auth token. You should use a clear Piwik installation and a token with full admin rights due to avoid conflicts. WPMU-Piwik will add a new site to Piwik each time a new blog is visited the first time.
- Users have access to their own statistics, site admins can access each blog’s statistics.
Installation
- Upload the full `wp-piwik` directory into your `wp-content/plugins` directory
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Open the new ‘Settings/WP-Piwik Settings’ menu, enter your Piwik base URL and your auth token. Save settings.
- If you have view access to multiple site stats, choose your blog and save settings again.
- Look at ‘Dashboard/WP-Piwik’ to get your site stats.
Deinstallation
Currently there is no deinstallation routine, so you have to delete all wp-piwik_* option fields manually after plugin deactivation.
Known issues
None
Credits
- Albanian [sq] language file by Besnik Bleta.
- Belorussian [be_BY] language file by FatCow.
ToDo
- More stats widgets
- Widescreen-support (more columns)
- Theme widgets
- Configuration of displayed data
- More languages
- Optimize code and add comments
- Deinstallation routine
Changelog
0.6.4
- Unnecessary debug output removed
- German language file update
- WordPress dashboard widget: last 30 days view added
0.6.3
- Click at a visitor stats day-row to load its details.
- Add stats overview to your WordPress dashboard
0.6.0
- Added experimental WPMU support
- Switch to disable Google Chart API
- Added Albanian [sq] language file
- Added Belorussian [be_BY] language file
0.5.0
- Display statistics to selected user roles
- Some HTML fixes (settings page)
0.4.0
- Tracking filter added
- Resolution stats
- Operating System stats
- Plugin stats
0.3.2
- If allow_url_fopen is disabled in php.ini, WP-Piwik tries to use CURL instead of file_get_contents.
0.3.1
- WordPress 2.8 compatible
- Bugfix: Warnings on WP 2.8 plugins site
- Dashboard revised
- Partly optimized code
0.3.0
- WP-Piwik dashboard widgetized.
- Stats-boxes sortable and closeable.
- German language file added
- Browser stats and bounced visitors
0.2.0
- First public version.

Dies ist mein Blog, auf dem ich unter anderem über Usability, Development, Webdesign und Kommunikation schreibe.

[...] mit anderen Programmen, auf die von Piwik erfassten Daten zugreifen. Ich habe mir da beispielsweise das Plugin WP-Piwik installiert, welches mir den Tracking-Code automatisch in den Footer von Wordpress einbaut und es [...]
All installed correctly I think. How do you know if it is working? How long before results start showing? Thank you.
Fred
Hi Fred,
if your Piwik installation works fine, you should see your first visitors directly. Have a look at today’s values in the visitor table (top right). All other stats currently show yesterday’s values, so you should see your first stats tomorrow (if there were any visitors, of course).
To check your WP-Piwik compare its stats with your original Piwik stats.
Hope you enjoy this plugin!
Best regards,
André
Hi André, schönes Plugin hast du da. Als nützliches Goodie wäre es toll, wenn auch im WordPress Dashboard noch ein Link auf das Piwik-Dashboard angezeigt würde.
Hi Sören,
du meinst also einfach ein Link vom neuen Dashboard-Widget auf das Piwik-Dashboard im WordPress? Oder auf das “echte” Piwik-Dashboad?
Sowas ist jedenfalls kein Problem
Letzteres. Nachdem man sich im “WordPress-Piwik-Dashboard” appetit geholt hat, bekommt man evtl. ja doch noch mal Lust die volle Power des Piwik zu nutzen. Deshalb wäre ein Link auf das “echte” Piwik-Dashboard echt praktisch. Anderfalls muss man die ganze Adresse per Hand eintippen was auf Grund der Wordpress-Pfadstruktur ein ganz schönes “gegurke” ist.
P.S. Danke für die Reparatur in 0.6.4. Ich hatte den Debug-Output auch schon entdeckt und lokal bei mir rausgeschmissen
Thank you, Andre. Nice work here. Does it “count” my visits? I do not see an instance of me, as all visitors are zero. Also, I installed the JS code directly generated from my Piwik manually to the footer of my WordPress blog. Is this a conflict with the code your plugin generates?
@6- Sören: Klar, kein Problem. Baue ich für die nächste Version ein.
@7 – Fred: If you add the Piwik code manually to your footer.php, WP-Piwik can not influence your results. In this case all counting stuff is done by Piwik itself.
If you enable “Add code to wp_footer()” instead of adding the code manually, WP-Piwik won’t add the code on visits by user roles selected at the tracking filter setting.