Piwik anpassen und skalieren

Post on 02-Dec-2014

1.412 views 1 download

description

Mit weit über 1 Million Downloads hat sich die quelloffene Piwik-Suite als zuverlässige und beliebte Alternative zu Traffic-Analysewerkzeugen wie Google Analytics etabliert. Heute lassen sich mit Piwik nahezu beliebige Statistiken zur Nutzung von Webseiten erfassen, auch das Monitoring komplexer Marketing-Kampagnen ist möglich. Das besondere an der Software: Ihr Funktionsumfang lässt sich über ein Plug-in-System nahezu beliebig erweitern. Im Webinar zeigt Ihnen Thomas Steur, selbst Core-Mitglied im Piwik-Projektteam und Lead Developer für Piwik Mobile, wie Entwickler Piwik richtig nutzen können, was es mit der Plug-in-Entwicklung auf sich hat und worauf man im Umgang mit Echtzeit-Traffic-Daten (Stichwort: Skalierung) achten muss.

Transcript of Piwik anpassen und skalieren

© 2013 Mayflower GmbH

Thomas Steur I @tsteur I 14. Februar 2013

Piwik - Open Source Web Analytics PlatformEinsetzen - Anpassen - Skalieren

Unternehmensportrait I Mayflower GmbH I 2012 I

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.

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

2+ StandorteMünchen und Würzburg70+ Mitarbeiterinnen

und Mitarbeiter 15+ quelloffeneProjekte

400+ Mannjahre Erfahrung

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

Wer bin ich?

3

‣ 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

Webinar-Ablauf

4

‣ Highlights der Software

‣ Anpassbarkeit

‣ Skalierung

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

> 500k Webseitenverwenden Piwik

5

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

15% Marktanteilin Deutschland

6

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

Keep control over your data

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

Auf eigenem Serverinstallierbar

7

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

PHPMySQL

JavaScript

8

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

Security

9

http://piwik.org/security/

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

Release Cycle

10

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

Unabhängige Landeszentrum für

Datenschutz Schleswig-Holstein

11

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

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

Wer nutzt Piwik?

12

‣ 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 13

ErweiterbarPiwik an Ihre Bedürfnisse und an die Ihrer Kunden anpassen

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

Dashboards

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

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

E-Mail & SMSReports

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

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

Widgets

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

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

Plugins

24

class Piwik_MyPlugin extends Piwik_Plugin { }

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

Hooks

25

‣ Authentifizierung

‣ Archivierung

‣ Datenbank

‣ Tracking

‣ Übersetzung

‣ Menüs

‣ Widgets

‣ Assets

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

FunktionenUser-Rechte / DB / Piwik API

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

Hinter den KulissenLog vs. Archive

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

Performance-TippAuto-Archiving

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

Wozu Plugins?

29

‣ 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 30

Analytics REST API

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

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

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

Live-API

36

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

Segmentierung

37

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

Seiten und Nutzerverwalten

38

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

Wozu?

39

‣ Dashboards

‣ Whitelabels

‣ Automatisierte Verarbeitung

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

Tracking-API

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

Wozu?

41

‣ Mobile Apps

‣ Desktop Apps

‣ Server-seitiges Tracking

http://piwik.org/integrate/

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

Piwik-Dev-Environment

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

Vagrant + Puppet

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

Zwischenstand

44

‣ 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 45

Skalierung

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

Tausende von Webseiten

46

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

>1 Milliarde Seitenaufrufe im Jahr

47

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

Empfehlung

48

‣ Dedizierter Server

‣ RAM

‣ PHP Cache, zum Beispiel APC

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

Bottleneck DB1GB DB pro 5 Millionen Seitenansichten

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

Datenbank automatisiert aufräumen

50

‣ 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 51

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

Links

52

‣ 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

Links

53

‣ 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 54

Fragen?

Vielen Dank für Ihr Interesse!

© 2013 Mayflower GmbH

Thomas Steur webinar@mayflower.deTel.: +49 931 35965 1177

Mayflower GmbH

Gneisenaustraße 10/1197074 Würzburg

Kontakt