S9Y: Getting all time exit url statistics
Posted by Doomshammer
on Monday, March 26. 2007
at 13:28
in Anwendungen, Computer, English only, Privat, Thoughts, Web
Today I was searching for the count of exits from my blog to a specific URL I posted lately. Sadly the "Statistics" plugin of s9y only shows a brief list from the exits of the last 7 days or so, so I wrote a little SQL query to get the stats- maybe this could be interessting for someone else as well.QUOTE:
SELECT SUM(count) AS "Exits", concat(scheme, '://', host, path) as "Exit URL"
 FROM serendipity_exits
 GROUP BY scheme, host, path
 ORDER BY Exits;
 FROM serendipity_exits
 GROUP BY scheme, host, path
 ORDER BY Exits;
You can as well add a WHERE clause to get e. g. a specific host or path.


