Thanks everyone for your very useful suggestions. We'll definitely come up with both methods at this point (we'll have to use server logs for stats as well as client-side tracking at this point). I just wanted to make sure I wasn't overlooking a more proper way of doing things. I'll double check Smarter Stats to make sure it doesn't have a Javascript API as well.

Thanks!!

Justin Nichols
/Nexteppe Business Solutions/
(877) 572-8892
[EMAIL PROTECTED]
www.nexteppe.com


Douglas Knudsen wrote:
Some of these web stats tools have a JavaScript API that you can
interface with using External Interface from within Flex code.  I've
seen this implemented before and worked a treat.  But if you are
limited to websever logs only, going to have to play the HTTP request
game.  Just have a small framework setup where you dispatch a
LogTrafficEvent of sorts passing a id as a payload.  Have a Command
handle the http request silently.

DK

On Sat, Jul 19, 2008 at 12:56 AM, Cameron Childress <[EMAIL PROTECTED]> wrote:
Warning: This may not be the answer you were looking for.

In order to generate logs on the web server you would have to generate
requests to the web server.  You're going to have this problem with
any AJAX, Flash, Flex, or any other client heavy web application.
They don't generate requests to the server for everything they do.
This is one of the advantages of this type of application, and is one
of the reasons programs like Google Analytics have been gaining so
much ground.  Google Analytics tracks client activity, not server
activity.

You can also have this problem if you are using edge caching or
distributed systems like Akami, or even if you are using a cluster of
local servers.  Current industry trend is to moving away from server
log processing and towards monitoring client activity.  I don't see
this changing anytime soon.

I'd suggest that this might be a good time to encourage your client to
move towards something like Google Analytics, Omniture,  Hitbox,
etc...

-Cameron

On Fri, Jul 18, 2008 at 4:17 PM, Justin Nichols
<[EMAIL PROTECTED]> wrote:
Thanks a ton for the help, I'll look into that of course, but my main
question had to do with stats tracking that was outside of any Google API.
A normal website generates logs on the web server.  Those logs are usually
in a W3C compliant format.  They can be imported into stats systems such as
SmarterStats which would then generate charts/views/etc of the stats for the
client to see.

Is there any good way to accommodate the same type of stats tracking when a
site is specifically coded in Flex (i.e. no inherent request/response)?
(Mainly so a customer who is used to using SmarterStats could continue doing
so, and keep in mind that SmarterStats parses W3C compliant logs so the main
issue I have is Flex stats tracking using W3C compliant logging).

Thanks,

Justin Nichols
Nexteppe Business Solutions
(877) 572-8892
[EMAIL PROTECTED]
www.nexteppe.com

Evan Mullins wrote:

Justin,

Here's an article about integrating flash with google analytics, it should
be pretty simple to port to as3 and flex.
http://blog.circlecube.com/2008/01/28/integrate-google-analytics-with-flash-tutorial/

-Evan Mullins
http://circlecube.com




On Fri, Jul 18, 2008 at 3:59 PM, Justin Nichols
<[EMAIL PROTECTED]> wrote:
Hello,

I've been tasked with figuring out what it would take to provide website
statistics (such as unique visitors, returning visitors, page accesses, etc)
for a Flex-based website.  Obviously the entry-point will generate standard
logs, but if the Flex app uses view-states which mimic page "loads", then
the web server will never see those view-state changes.

We have ideas such as when a view-state changes, we would send a blind
http call to a page on the server to act as a page "load" so the web server
logs will be updated as such, but that seems quite cumbersome and not really
the right way of doing it.

Can anyone point me to any information on this?  I understand that we can
tie into Google Analytics, but that's mainly because Google exposes an API
for it.  What about other stats systems like SmarterStats which handles the
standard W3C logging format (usually generated by the web server in a
standard request/response setting)?

Thanks so much!!

--
Justin Nichols
Nexteppe Business Solutions
(877) 572-8892
[EMAIL PROTECTED]
www.nexteppe.com
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in
the subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by FusionLink
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by FusionLink
-------------------------------------------------------------

-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by FusionLink
-------------------------------------------------------------

--
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell: 678.637.5072
aim: cameroncf
email: [EMAIL PROTECTED]


-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------









-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to