[phpOpenTracker-User] Average session length, access_statistics snag

Clay Loveless <[email protected]> Mon, 12 Jan 2004 06:19:27 -0800
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <BC27ECEF.36F24%[email protected]>
Hello,

I'm new to phpOpenTracker -- and am very excited about it! What a great
project!

I'm getting pretty familiar with working with the API, but have hit a few
snags. Note: I'm using phpOpenTracker-1.3.2

(I apologize if this is in the archive -- the SourceForge site is *very*
flaky at the moment, and I've had trouble looking through the archives.)

The MAIN snag:

I can't 'get' access_statistics!

$stats = phpOpenTracker::get(
    array(
        'api_call' => 'access_statistics'
    )
);

.... Returns "phpOpenTracker Warning: Unknown API Call access_statistics."

From what I can tell in a casual look through the source,
'access_statistics' *should* be working, but it isn't.


I'm trying to get the access_statistics to calculate the average session
length as a visitor surfs through the site I'm tracking. (Is that already
available through another API call?)

Thanks in advance!

-Clay



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html