spyderfusion02 Posted August 11, 2008 Share Posted August 11, 2008 Hey, i was wondering how I would go about tracking page views for a site and clicks on an advertisment. I would like a site user to be able to see the stats in their profiles like Google Analytics. Do I even use PHP in this case or is it a Javascript type thing? Any help would be great. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/119216-tracking-page-viewsclicks/ Share on other sites More sharing options...
Daniel0 Posted August 11, 2008 Share Posted August 11, 2008 Store a number somewhere and increment it each time somebody loads the page. Quote Link to comment https://forums.phpfreaks.com/topic/119216-tracking-page-viewsclicks/#findComment-614028 Share on other sites More sharing options...
discomatt Posted August 11, 2008 Share Posted August 11, 2008 Hey, i was wondering how I would go about tracking page views for a site and clicks on an advertisment. I would like a site user to be able to see the stats in their profiles like Google Analytics. Do I even use PHP in this case or is it a Javascript type thing? Any help would be great. Thanks. This can be very, very, very complex, or as simple as the above poster mentioned. Quote Link to comment https://forums.phpfreaks.com/topic/119216-tracking-page-viewsclicks/#findComment-614043 Share on other sites More sharing options...
spyderfusion02 Posted August 11, 2008 Author Share Posted August 11, 2008 What would be the best way to approach this in your opinion? Also, does anyone have any tutorials on this topic? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/119216-tracking-page-viewsclicks/#findComment-614054 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.