Reputation: 619
Is it possible to detect a visitor's IP address and store it on the magento administrator so that the admin can be able to view who visited their store
Upvotes: 0
Views: 4700
Reputation: 15216
This is already possible. Take a look at Customers->Online Customers
. This log is cleared after 15 minutes by default but you can increase the value from System->Configuration->Customer Configuration->Online Customers Options
. Don't make the value too big because it may affect performance.
EDIT (correction)
All the access to you website is stored in the table log_visitor_info
including the IP address. This table is not cleaned up after X minutes.
Upvotes: 2