Maybe a simple question?


#1

First off, I’m loving Piwik so far!

I’m trying to use it to track multiple websites that I host, I’ve got it all set up and working…

I just have a couple questions… is there a way to “print/echo” a certain stat on a a page on my site? Kind of like a counter…

I’m wanting to get print/echo in php the hits and a couple other stats… and possible like traffic used / bandwidth?
Is this possible?

Thanks for any help


(Matthieu Aubry) #2

Yes you can do so by calling the Analytics API for example VisitsSummary.getVisits Piwik Analytics API - Analytics Platform - Matomo