How to do statistics of a domain?

August 24, 2015 738 views
Nginx Monitoring


I have bought a server from DigitalOcean and a domain name from GoDaddy.

I have already done some configuration, at the moment the site is just a very simple html page.

I would like to trace the information of visitors, as much as possible... For example, the IP of visitors, the number of visitors and visits during a period, the location of visitors, etc.

Later, the site will grow, I want to trace action of visits with regard to each page, to see what they have hit (e.g., video).

Does anyone know how to realise this?

1 Answer

There are quite a few options out there. The simplest solution to implement is going with a third party tool like Google Analytics that just requires you to insert some javascript code into your page(s). If you're looking to analyze your logs to get some additional information there are some older packages like webalizer that can be configured to work with nginx. I'd recommend doing a bit of research to pick the solution that best fits your needs.

Have another answer? Share your knowledge.