[OSM-talk] piwik.openstreetmap.org - let's make it happen!
Christian Quest
cquest at openstreetmap.fr
Fri Jan 11 18:28:10 GMT 2013
Piwik has an API that allows to query its data backend:
http://piwik.org/docs/analytics-api/reference/
I'm just discovering it... so don't ask me too much about it !
Here are a few examples for december 2012 on www.openstreetmap.fr :
Incoming websites for new visitor:
https://openstreetmap.fr/piwik/index.php?format=html&date=2012-12-01&period=month&idSite=1&module=API&method=Referers.getWebsites&segment=visitorType==new
Incoming websites for returning visitors:
https://openstreetmap.fr/piwik/index.php?format=html&date=2012-12-01&period=month&idSite=1&module=API&method=Referers.getWebsites&segment=visitorType==returning
Pages viewed by new visitors:
https://openstreetmap.fr/piwik/index.php?format=html&date=2012-12-01&period=month&idSite=1&module=API&method=Actions.getPageUrls&segment=visitorType==new
and the one viewed by returning ones:
https://openstreetmap.fr/piwik/index.php?format=html&date=2012-12-01&period=month&idSite=1&module=API&method=Actions.getPageUrls&segment=visitorType==returning
Outlinks for new visitors that came using a search engine:
https://openstreetmap.fr/piwik/index.php?format=html&date=2012-12-01&period=month&idSite=1&module=API&method=Actions.getOutlinks&segment=visitorType==new&referrerType==search
Outlinks for all visitors that came using a search engine:
https://openstreetmap.fr/piwik/index.php?format=html&date=2012-12-01&period=month&idSite=1&module=API&method=Actions.getOutlinks&segment=referrerType==search
As you can see all these reports only contain anonymized data. With
proper credentials, it's possible to go deeper.
Read the API reference for more details. We're not running the lastest
version of piwik so some features may not be available.
Have fun !
2013/1/11 Rob Nickerson <rob.j.nickerson at gmail.com>:
> Is it possible to look at just those people coming from new websites? For
> example, how long did they stay? what pages did they view? where did they
> exit to?
>
> Rob
>
> _______________________________________________
> talk mailing list
> talk at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
>
--
Christian Quest - OpenStreetMap France - http://openstreetmap.fr/u/cquest
More information about the talk
mailing list