Piwik - Open Source Web Analytics Platform
Einsetzen - Anpassen - Skalieren

Thomas Steur I @tsteur I 14. Februar 2013




                                             © 2013 Mayflower GmbH
Mayflower // Fakten



Die Mayflower GmbH entwickelt seit über 10 Jahren branchen-
unabhängige Individuallösungen auf Grundlage von PHP und weiteren
State-of-the-Art Web-Technologien.
Know-how findet sich in Kundenprojekten unter anderem bei Deutsche
Telekom AG, UniCredit, Vaillant, E.ON, Siemens, Pro7 oder Nintendo.



70+      Mitarbeiterinnen
         und Mitarbeiter    2+       Standorte
                                     München und Würzburg               15+                 quelloffene
                                                                                            Projekte


400+
                                   Services E-Commerce•Mobile Apps•Software Development•Business
             Mannjahre Erfahrung   Intelligence•CRM•Database Integration•Intranet•Banking Solutions•Data
                                   Analysis•Backend Services•Consulting•Automotive IT•Agile Development




                                                                           Unternehmensportrait I Mayflower GmbH I 2012 I
Wer bin ich?



‣ Thomas Steur
‣ Bei Mayflower seit 4 Jahren
‣ Senior Developer
‣ Hauptsächlich PHP / JavaScript
‣ Im Piwik Team seit 2,5 Jahren
‣ Piwik Mobile App für iOS und Android
‣ Twitter: @tsteur




                                     Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 3
Webinar-Ablauf



‣ Highlights der Software
‣ Anpassbarkeit
‣ Skalierung




                            Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 4
> 500k Webseiten
 verwenden Piwik


        Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 5
15% Marktanteil
        in Deutschland


http://w3techs.com/technologies/segmentation/tld-de-/traffic_analysis

                                  Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 6
Auf eigenem Server
    installierbar
    Keep control over your data




                  Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 7
PHP
 MySQL
JavaScript

     Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 8
Security



http://piwik.org/security/

             Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 9
Release Cycle



      Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 10
Unabhängige
          Landeszentrum für
             Datenschutz
          Schleswig-Holstein

https://www.datenschutzzentrum.de/tracking/piwik/20110315-webanalyse-piwik.pdf

                                       Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 11
Wer nutzt Piwik?



‣ Regierungen / Städte / Behörden
‣ Hoster
‣ Agenturen
‣ Blogs / Private Webseiten

‣ Wo Datenschutz wichtig ist
‣ Wo Anpassbarkeit wichtig ist




                                    Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 12
Erweiterbar
Piwik an Ihre Bedürfnisse und an die Ihrer Kunden anpassen




                             Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 13
Dashboards



     Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 14
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 15
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 16
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 17
E-Mail & SMS
   Reports


      Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 18
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 19
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 20
Widgets



   Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 21
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 22
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 23
Plugins
class Piwik_MyPlugin extends Piwik_Plugin { }




                       Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 24
Hooks



‣ Authentifizierung
‣ Archivierung
‣ Datenbank
‣ Tracking
‣ Übersetzung
‣ Menüs
‣ Widgets
‣ Assets




                     Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 25
Funktionen
User-Rechte / DB / Piwik API




              Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 26
Hinter den Kulissen
      Log vs. Archive




              Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 27
Performance-Tipp
     Auto-Archiving




            Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 28
Wozu Plugins?



‣   Neue Widgets
‣   Neue APIs
‣   Mehr Daten aufzeichnen, zum Beispiel Ladezeit
‣   Alternative Authentifizierungsmöglichkeiten
     - LDAP
     - CRM
     - CMS
‣ Performance optimieren / Skalierung



                                      Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 29
Analytics REST API



         Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 30
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 31
Beispiel
http://demo.piwik.org/?module=API&
     method=API.getPiwikVersion&
           format=JSON

         {value: "1.10.1"}




                  Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 32
Authentifizierung

       http://demo.piwik.org/?module=API&
            method=API.getPiwikVersion&
token_auth=d41d8cd98f00b204e9800998ecf8427e




                      Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 33
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 34
Reports
http://demo.piwik.org/?module=API&
     method=Actions.getPageUrls&
              idSite=7&
            period=day&
             date=today




                 Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 35
Live-API



    Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 36
Segmentierung



      Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 37
Seiten und Nutzer
    verwalten


        Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 38
Wozu?



‣ Dashboards
‣ Whitelabels
‣ Automatisierte Verarbeitung




                                Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 39
Tracking-API



      Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 40
Wozu?



‣ Mobile Apps
‣ Desktop Apps
‣ Server-seitiges Tracking




                             Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 41
http://piwik.org/integrate/
Piwik-Dev-Environment
               Vagrant + Puppet




   https://github.com/piwik/piwik-dev-environment

                          Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 43
Zwischenstand



‣ Dashboards
‣ E-Mail/SMS Reports
‣ Widgets
‣ Plugins
‣ Analytics-API
‣ Tracking-API




                       Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 44
Skalierung



     Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 45
Tausende von Webseiten



           Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 46
>1 Milliarde Seitenaufrufe
          im Jahr


             Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 47
Empfehlung



‣ Dedizierter Server
‣ RAM
‣ PHP Cache, zum Beispiel APC




                                Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 48
Bottleneck DB
1GB DB pro 5 Millionen Seitenansichten




                   Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 49
Datenbank automatisiert aufräumen



‣ Piwik speichert Log- und Archivierte-Daten
‣ Log-Daten können gelöscht werden, sobald diese archiviert wurden
    • Nachteil: Daten können bei Bedarf nicht erneut archiviert werden
‣ Archivierte-Daten können gelöscht werden, wenn diese nicht mehr
  relevant sind
    • Über Log-Daten können jederzeit Archivierte-Daten generiert
      werden




                                        Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 50
Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 51
Links



‣ Demo
   • http://demo.piwik.org
   • http://piwik.org/blog/category/videos/

‣ Plugins
   • http://piwik.org/docs/plugins/
   • http://geekmonkey.org/articles/34-how-to-write-a-piwik-plugin
   • http://dev.piwik.org/trac/query?
     status=new&status=assigned&status=reopened&milestone=Third+Party+Piwik
     +Plugins&order=priority

‣ Source Code
   • https://github.com/piwik/piwik

‣ Developer Zone
   • http://dev.piwik.org



                                                  Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 52
Links



‣ Analytics-API
   • http://piwik.org/docs/analytics-api/reference/

‣ Tracking-API
   • http://piwik.org/docs/tracking-api/

‣ Skalierung
   • http://piwik.org/docs/optimize/
   • http://forum.piwik.org/read.php?2,73486,page=2




                                                  Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 53
Fragen?



   Piwik - Open Source Web Analytics Platform I   Mayflower GmbH I 14. Februar 2013 I 54
Vielen Dank für Ihr Interesse!




Kontakt        Thomas Steur
               webinar@mayflower.de
               Tel.: +49 931 35965 1177


               Mayflower GmbH
               Gneisenaustraße 10/11
               97074 Würzburg




                                          © 2013 Mayflower GmbH

Piwik anpassen und skalieren

  • 1.
    Piwik - OpenSource Web Analytics Platform Einsetzen - Anpassen - Skalieren Thomas Steur I @tsteur I 14. Februar 2013 © 2013 Mayflower GmbH
  • 2.
    Mayflower // Fakten DieMayflower GmbH entwickelt seit über 10 Jahren branchen- unabhängige Individuallösungen auf Grundlage von PHP und weiteren State-of-the-Art Web-Technologien. Know-how findet sich in Kundenprojekten unter anderem bei Deutsche Telekom AG, UniCredit, Vaillant, E.ON, Siemens, Pro7 oder Nintendo. 70+ Mitarbeiterinnen und Mitarbeiter 2+ Standorte München und Würzburg 15+ quelloffene Projekte 400+ Services E-Commerce•Mobile Apps•Software Development•Business Mannjahre Erfahrung Intelligence•CRM•Database Integration•Intranet•Banking Solutions•Data Analysis•Backend Services•Consulting•Automotive IT•Agile Development Unternehmensportrait I Mayflower GmbH I 2012 I
  • 3.
    Wer bin ich? ‣Thomas Steur ‣ Bei Mayflower seit 4 Jahren ‣ Senior Developer ‣ Hauptsächlich PHP / JavaScript ‣ Im Piwik Team seit 2,5 Jahren ‣ Piwik Mobile App für iOS und Android ‣ Twitter: @tsteur Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 3
  • 4.
    Webinar-Ablauf ‣ Highlights derSoftware ‣ Anpassbarkeit ‣ Skalierung Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 4
  • 5.
    > 500k Webseiten verwenden Piwik Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 5
  • 6.
    15% Marktanteil in Deutschland http://w3techs.com/technologies/segmentation/tld-de-/traffic_analysis Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 6
  • 7.
    Auf eigenem Server installierbar Keep control over your data Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 7
  • 8.
    PHP MySQL JavaScript Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 8
  • 9.
    Security http://piwik.org/security/ Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 9
  • 10.
    Release Cycle Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 10
  • 11.
    Unabhängige Landeszentrum für Datenschutz Schleswig-Holstein https://www.datenschutzzentrum.de/tracking/piwik/20110315-webanalyse-piwik.pdf Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 11
  • 12.
    Wer nutzt Piwik? ‣Regierungen / Städte / Behörden ‣ Hoster ‣ Agenturen ‣ Blogs / Private Webseiten ‣ Wo Datenschutz wichtig ist ‣ Wo Anpassbarkeit wichtig ist Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 12
  • 13.
    Erweiterbar Piwik an IhreBedürfnisse und an die Ihrer Kunden anpassen Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 13
  • 14.
    Dashboards Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 14
  • 15.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 15
  • 16.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 16
  • 17.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 17
  • 18.
    E-Mail & SMS Reports Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 18
  • 19.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 19
  • 20.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 20
  • 21.
    Widgets Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 21
  • 22.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 22
  • 23.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 23
  • 24.
    Plugins class Piwik_MyPlugin extendsPiwik_Plugin { } Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 24
  • 25.
    Hooks ‣ Authentifizierung ‣ Archivierung ‣Datenbank ‣ Tracking ‣ Übersetzung ‣ Menüs ‣ Widgets ‣ Assets Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 25
  • 26.
    Funktionen User-Rechte / DB/ Piwik API Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 26
  • 27.
    Hinter den Kulissen Log vs. Archive Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 27
  • 28.
    Performance-Tipp Auto-Archiving Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 28
  • 29.
    Wozu Plugins? ‣ Neue Widgets ‣ Neue APIs ‣ Mehr Daten aufzeichnen, zum Beispiel Ladezeit ‣ Alternative Authentifizierungsmöglichkeiten - LDAP - CRM - CMS ‣ Performance optimieren / Skalierung Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 29
  • 30.
    Analytics REST API Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 30
  • 31.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 31
  • 32.
    Beispiel http://demo.piwik.org/?module=API& method=API.getPiwikVersion& format=JSON {value: "1.10.1"} Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 32
  • 33.
    Authentifizierung http://demo.piwik.org/?module=API& method=API.getPiwikVersion& token_auth=d41d8cd98f00b204e9800998ecf8427e Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 33
  • 34.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 34
  • 35.
    Reports http://demo.piwik.org/?module=API& method=Actions.getPageUrls& idSite=7& period=day& date=today Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 35
  • 36.
    Live-API Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 36
  • 37.
    Segmentierung Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 37
  • 38.
    Seiten und Nutzer verwalten Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 38
  • 39.
    Wozu? ‣ Dashboards ‣ Whitelabels ‣Automatisierte Verarbeitung Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 39
  • 40.
    Tracking-API Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 40
  • 41.
    Wozu? ‣ Mobile Apps ‣Desktop Apps ‣ Server-seitiges Tracking Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 41
  • 42.
  • 43.
    Piwik-Dev-Environment Vagrant + Puppet https://github.com/piwik/piwik-dev-environment Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 43
  • 44.
    Zwischenstand ‣ Dashboards ‣ E-Mail/SMSReports ‣ Widgets ‣ Plugins ‣ Analytics-API ‣ Tracking-API Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 44
  • 45.
    Skalierung Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 45
  • 46.
    Tausende von Webseiten Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 46
  • 47.
    >1 Milliarde Seitenaufrufe im Jahr Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 47
  • 48.
    Empfehlung ‣ Dedizierter Server ‣RAM ‣ PHP Cache, zum Beispiel APC Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 48
  • 49.
    Bottleneck DB 1GB DBpro 5 Millionen Seitenansichten Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 49
  • 50.
    Datenbank automatisiert aufräumen ‣Piwik speichert Log- und Archivierte-Daten ‣ Log-Daten können gelöscht werden, sobald diese archiviert wurden • Nachteil: Daten können bei Bedarf nicht erneut archiviert werden ‣ Archivierte-Daten können gelöscht werden, wenn diese nicht mehr relevant sind • Über Log-Daten können jederzeit Archivierte-Daten generiert werden Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 50
  • 51.
    Piwik - OpenSource Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 51
  • 52.
    Links ‣ Demo • http://demo.piwik.org • http://piwik.org/blog/category/videos/ ‣ Plugins • http://piwik.org/docs/plugins/ • http://geekmonkey.org/articles/34-how-to-write-a-piwik-plugin • http://dev.piwik.org/trac/query? status=new&status=assigned&status=reopened&milestone=Third+Party+Piwik +Plugins&order=priority ‣ Source Code • https://github.com/piwik/piwik ‣ Developer Zone • http://dev.piwik.org Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 52
  • 53.
    Links ‣ Analytics-API • http://piwik.org/docs/analytics-api/reference/ ‣ Tracking-API • http://piwik.org/docs/tracking-api/ ‣ Skalierung • http://piwik.org/docs/optimize/ • http://forum.piwik.org/read.php?2,73486,page=2 Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 53
  • 54.
    Fragen? Piwik - Open Source Web Analytics Platform I Mayflower GmbH I 14. Februar 2013 I 54
  • 55.
    Vielen Dank fürIhr Interesse! Kontakt Thomas Steur webinar@mayflower.de Tel.: +49 931 35965 1177 Mayflower GmbH Gneisenaustraße 10/11 97074 Würzburg © 2013 Mayflower GmbH