Getting data for a visitor by ip


#1

Hello,

How does one go about retrieving data in piwik for a visitor? We store ip’s during signups on our site which piwik is also tracking, and I would like to retrieve list of pages viewed for the visitors ip.

I looked at the api functions, but didn’t see anything for this task. So is there a way?

Thank you


(Matthieu Aubry) #2

I just added the functionnality in SVN (use SVN or wait for next RC version in few hours to try it)

You will be able to get visitors by IP using:

module=API&method=Live.getLastVisitsDetails&idSite=1&period=day&date=today&format=xml&segment=visitIp==A.B.C.D