I think the most straightforward thing to do would be to use Google Analytics. It has an API now (and <a href="http://drupal.org/project/google_analytics_api">Drupal module</a>) that you could use to pull in data and build custom reports. The biggest downside I know is that you&#39;re prohibited per terms of use on tracking individual users so all data is aggregate.<div>
<br clear="all">--Kyle Mathews<br><br><a href="http://kyle.mathews2000.com/blog">kyle.mathews2000.com/blog</a><br><a href="http://twitter.com/kylemathews">http://twitter.com/kylemathews</a><br>
<br><br><div class="gmail_quote">On Wed, Apr 28, 2010 at 8:53 AM, Ken Winters <span dir="ltr">&lt;<a href="mailto:kwinters@coalmarch.com">kwinters@coalmarch.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;m going to be writing an OG analytics package for a medium sized non-profit and<br>
contributing it back to the community, and would like some guidance on specific<br>
technologies.<br>
<br>
First, some background.  The site traffic is almost entirely OG-based and requires<br>
a login to access.  There are a few dozen public pages as well. Other than a lot of<br>
custom content types, the OG install is similar to GDO.  The site is currently D5, with<br>
plans to upgrade to D7 in the fall (yes, I realize D5 is going to be a lot of extra work).<br>
<br>
The goal priorities are (in descending order of importance):<br>
<br>
* Capable of providing the needed metrics<br>
* Quality reports and graphing<br>
* Expandable with later module integrations (not just OG)<br>
* Scalable<br>
* Reasonably installable<br>
* Compatible with shared hosting (requiring SSH access is probably fine)<br>
<br>
Metrics desired:<br>
<br>
* Session length<br>
* Nodes viewed (aggregated by content type)<br>
* Searches made (query and number of results returned)<br>
* Eventually also taxonomy integration<br>
<br>
Each would be stored with uids, and each Group would provide an aggregate total<br>
based on group membership.<br>
<br>
In addition to data collection and processing, I&#39;m also going to need a reporting<br>
framework that will provide results as HTML and CSV export of table results (one<br>
day resolution).<br>
<br>
There have been many posts on the subject, but nothing that provides an obvious<br>
starting point:<br>
<br>
* <a href="http://groups.drupal.org/node/20452" target="_blank">http://groups.drupal.org/node/20452</a><br>
* <a href="http://groups.drupal.org/node/20889" target="_blank">http://groups.drupal.org/node/20889</a><br>
* <a href="http://groups.drupal.org/node/21563" target="_blank">http://groups.drupal.org/node/21563</a><br>
* <a href="http://drupal.org/project/nagios" target="_blank">http://drupal.org/project/nagios</a><br>
<br>
The underlying technologies I&#39;ve seen thrown around are Google Analytics, Cacti,<br>
Munin, RRDtool, and Nagios.  Open source is desirable but not at the expense of<br>
critical features.<br>
<br>
If anyone can provide guidance about approaches or eliminate some of the<br>
technologies, it would be greatly appreciated.  I want to avoid a solution that is<br>
great for a small number of people but won&#39;t ever reach wide adoption.<br>
<br>
Thanks,<br>
<br>
--------------------------------------------------------------------------------------------<br><font color="#888888">
<br>
Ken Winters<br>
Coalmarch Productions LLC<br>
</font></blockquote></div><br></div>