• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capture user Information and store in Database

#1
Hi,
I want to capture the information below from all sessions (including buying sessions & non-buying sessions.) of a website.
Please give me a suggestion that how to create a report in the backend that would allow us to pull this information for a certain time period.

Information to include:

IP Address
Device
Operating System
Operating System Version
Browser
Browser Version
Entry Page
Exit Page
User Agent String

Thanks
Reply

#2
Some of this information can be retrieved via the User Agent class ( http://www.codeigniter.com/userguide3/li...agent.html ), but be aware that the availability of some (or all) of it will be dependent on values the user can control. The IP Address can be found in the input library ( http://www.codeigniter.com/userguide3/li...input.html ). The entry/exit pages are up to you to track in the session.

In most cases, it would be more efficient to track/report this through a service like Google Analytics than to build it yourself.
Reply

#3
Have you looked into google analytics? It tracks all of that and a lot more...automatically.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.