Magento: Track Visitor’s (User / Customer) Information

Here, I will show you how to track visitor’s data information in Magento. By visitor’s information, I mean information like remote address, http host, user agent (browser), referer url, first visit date time, last visit date time, etc. The following code fetches the vistor data:- [source language=”php”] $visitorData = Mage::getSingleton(‘core/session’)->getVisitorData(); // printing visitor information data … Read more