Capture user Information and store in Database |
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
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.
Have you looked into google analytics? It tracks all of that and a lot more...automatically.
|
Welcome Guest, Not a member yet? Register Sign In |