Results 1 to 3 of 3

Thread: Tracking user activity

  1. #1
    Join Date
    Sep 2009
    Location
    pakistan
    Posts
    28
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Question Tracking user activity

    Hi

    I'm coufused about tracking a user activity on a site i wana write script in php for it but i dont have any logic in my mind, can anybody please explain me what will be the logic, how can i calculate the activity of a user on a website. I don't wana show any fancy chart, right now i just need the statistics.

    regards
    aqeel

  2. #2
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    What kind of tracking? You probably want some JS monitoring if you want to know what they do on a page.
    Corrections to my coding/thoughts welcome.

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Ignoring Javascript tracking of actions (which can integrate if needed), the basic idea is this:
    1) Create a database with user accounts.
    2) Store actions performed by the users and relate them using the user ID.

    Then do whatever you'd like to with the data such as creating charts or just looking at number of hits... whatever you need.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. The Following User Says Thank You to djr33 For This Useful Post:

    aqeel (07-12-2011)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •