In one of my web application I want a real visitor count. I am not looking for any third party one. Also I want to know visitors are from which country ?
I wrote a code and that will add in database when each page visit. But if the user refresh the page then also that will add a visit. Really "How real visitor counts are calculating ?" My question is
1. If a user visits my page in morning and it will added into database. After 2 or 3 hours the same visitor visits again.. Then is it count as new visit or ignore that visit and only calculate only one visit per day from a IP address....
I am sorry for my bad grammar and I am expecting good advises
Thanks in advance