• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How i calculate number of view of page

#1
Hello there,

Currently, I am working on a website for sharing stories like small blogs . 

I am trying to know the number of  views in a particular post or story .
Is any plugin or library provide this, or must build by my own code . 

Thanks in advance.
Reply

#2
(08-22-2016, 04:11 AM)Fallebdi Wrote: Hello there,

Currently, I am working on a website for sharing stories like small blogs . 

I am trying to know the number of  views in a particular post or story .
Is any plugin or library provide this, or must build by my own code . 

Thanks in advance.


Use Google Analytics, https://developers.google.com/analytics/...plications
Reply

#3
Google Analytics? Piwik? AWStats?

Or if you want to do it inside Codeigniter than I think you need to build it yourself.
Reply

#4
If you want just counters, there is a project about that (pure PHP): https://github.com/defuse/phpcount

Based on it, I've made my platform-specific code, it could be easily adapted for CodeIgniter 3: http://iridadesign.com/starter-public-ed.../page-hits
Reply

#5
Thanks,
your replies are very helpful.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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