Logging/tracking in PHP: Scribe, Chukwa, log4php? -


this pretty high-level question requires lot of explaining, i'm in need of lot of explaining.

basically i'm developing php application requires lot of logging , tracking. tracking clicks, interactions, performance, etc. etc. under sun. facebook's scribe , yahoo's chukwa both great implementations of this. know little log4php.

what want high-level overview of how kind of logging works, in conjunction php application. can stop @ point log gets processed; know want use hadoop/hive processing , storage.

i'd low-level looks @ happens within application itself. example, how 1 take behavior of click , send logger? i'd appreciate reading can me started, well.

you can buy/get tools or build in-house.

buy/get:

1 - tag pages google/yahoo analytics - track pageviews, page flow performance, seo ranking keywords, etc.

2 - tracking , logging user behavior, include clicks, interactions , performance. found nothing better clicktale - http://www.clicktale.com/default_e.aspx - video records user sessions , puts these "log files" in server.

in-house: 1 - creating hidden fields in forms submits logging database works. specify unique ids forms , keep track of it's actions during submits.

i'm sure there's lots more, these basics. these not php specific though.

hth

edit #1 :

this may beyond scope of question, tracking doesn't mean data goes in-house. example adding "like it" or "digg it" button articles or pages. "log" popularity you. can go facebook or digg.com see progress of site. it'll seo. basically, it's tracking system. , it's easy use. there php snippets out there can copy , paste code. if have wordpress, there plugin - "digg", "like it" in plugin search section.

going google analytics, if want go beyond tracking clicks, go ahead , make goals/funnels. it'll track user behavior, , answer questions such "what valuable keywords?" "where users dropping off?" "what bounce rate each page?" "what top 3 entry points site , traffic medium?" these question seo/sem managers concerned about. , it's track , understand.

clicktale starts google analytics ends. ga describe user behavior in page level, not in field level. clicktale, has heat maps, answer these questions "i know page has high bounce rate, why? field problem field customers?" "at area of page users spend of time in?" "how prove graphics guys particular section needs redesigned?".

edit #2

for high traffic sites, need scale logging db. helps when comes reporting. suggest 3-tier database reporting structure. tier 1 = last 7 days, tier 2 = last 6 months, tier = everything. can modify these according business. point being, data moves 1 tier another. keeping fresh data readily available. want generate reports asap. a single huge db doesn't scale.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -