You will need
- - text editor to write PHP script;
- account on Google Analytics;
- check the server statistics.
Search the web for a PHP script that generates the code or write it yourself. Use this script for websiteby posting on those pages, the statistics with which you want to be.
To collect data, use special plugin for WordPress – StatPress if you are a blog owner.
Upon request in any search engine you'll find a link to online service to collect and analyze the information collected about visits of your site. For example, the most popular of them - Yandex Metric or Liveinternet.ru. However, you can choose any. The search engine will appear more than ten links to Internet services easy to use.
In Google Analytics, create your account. Detailed statistics will be displayed in the analysis report when you select an item. This version is free, allows visit to the site of no more than five million views of the data.
On your mail will receive an analytical report on traffic to your site, where in the first position displays the IP address, which is the largest number of visits. Towards the end of the list are small organizations and individuals. Here are data on the number of page views and time on website visitors and other parameters: the number of hits, where your user is switched, data about browser and operating system the visitor, his IP, and more.
The number of page views in the free version is limited so if you are interested in an unlimited number of hits your site, it is advisable to use a Google AdWords account.
Very carefully ensure that each page of the website contains code from Google. This service will give you the most detailed information about visits to your site.