IP Tracker Script for CodeIgniter |
This is a simple CI script to track website visits.
This library will record IP address, web pages they opened and the time they visited your website. You can extend the script to include tracking the User Agent of the user visiting your website. I did not include it in the code since I didn't find it useful for my purpose. The sole purpose why I wrote this script is for me to know how many site visits I am getting everyday and from what IP's they belong to. Kindly create a table in your database with the following columns: Code: `id` int(11) NOT NULL AUTO_INCREMENT, How to use: Simply load the library in application/config/autoload.php under autload library line. That's it no need to call the function in each of your controller file. Thank you.
Hey happy new year!
I wonder how this works.Does the script is linked to a dashboard from where you can see data? Also i have another question :how to track codeigniter within Wordpress?I m operating a Wordpress site and i need to track the "thankyou" pages.Codeigniter app is installed and one needs to login separately in it .The "thankyou" pages are located within codeigniter and they dont get tracked by Google Analytics through any plugin.Do you have any suggestion how to track the "thankyou" pages in GA? Thanks |
Welcome Guest, Not a member yet? Register Sign In |