phpcodeigniterstatisticsanalytics

User Statistics in php


I am using Codeigniter for my current project.

The peoject is looks like a social platform,so i want to display users data on user admin panel.

I have the following types of domains for users.

http://site.com/page_name/

so page_name is a page of a particular user,so when that user logged in to his control panel i want to show the usage statistics of page_name to him.

On Cpanel we can see so many LOG programs ,is there any plugin available to integrate this on codeigniter/php ?

i heared about Awstats ,can i use it on my case ? or how they saving the data on the server,if they are using a database then i can easily get the data from datbase.

or any other methods ? custom things ?

All suggestions and opinions are welcome.

Thank you.

Update : I want statistics for every pages on my project

they are not in subdomains its looks like site.com/page_name . If i can use Google Analatycs API ,then how can i track these pages ??


Solution

  • You could use Piwik and inserting the link into a view. Piwik is like google analystics, but on your server. Thats what i like, nobody else can get access to your stats.