We help IT Professionals succeed at work.

How to track user activity on a website (php)

6,965 Views
Last Modified: 2012-08-13
hi
we have a shopping cart and we sell products.
some users some time complain that they cant place order . but we dont see any problem on the site.
so we decided  to track and store all the pages they visit for individuals users
example, when they will come to website

index.php ->from here where they go .. every pages they visit , will store all in mysql database so that we can track where  they are having problem.

can any one give me some idea how to tackle this ?


Comment
Watch Question

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2009

Author

Commented:
hi thanks
how you getting value from "thispageaddress," ??

i am using session .

Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Most Valuable Expert 2011
Author of the Year 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2009

Author

Commented:
hi Ray ,

what about session ..

if i want to use session which i am using currently

whats the options ??

i can see the point of m4trix's advise.. can you shed some more light on this technique ??

Most Valuable Expert 2011
Author of the Year 2014
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Top Expert 2009

Author

Commented:
no no
i am not trying a solution for making money

i just want to store user activity as soon as they come to my site


so that , when some one call me, that i was on your site but could not able to place order, then
i can track that users activity on the site to see how far he went and what pages he was stuck , this simple things..
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.