База знань

How do I track how many hits my website gets?

There are a few things that need to be cleared in terms of terminology:

1. Hits - this simply refers to the number of 'elements' loaded on your site. If one page has five images in it, viewing that page once adds 6 hits (one page + five images).
2. Impressions - the number of times all the pages on your site are seen (also simply called pageviews). Impressions are sometimes referred to as 'hits' which can cause confusion.
3. Uniques - the number of people that visited your site.

So to clarify, if I visit your website, look at two pages, and each page has 5 images on it, then your stats increase by one unique, two page views, and 12 hits. Tracking on your site can be either done server-side or remotely. With server-side statistics, log files are used to generate visitor information. This is usually much more accurate than remotely hosted solutions. In such cases, you usually have to add some javascript to your site. This javascript is then used to track visitor data. If your host provides it (and many do), server-side statistics are a good solution. Otherwise, companies like Site Meter can be used to remotely track your visitors.

Ця відповідь Вам допомогла?

 Роздрукувати цю статтю

Також прочитайте

How to Install GMP Math liberary

wget http://ftp.sunet.se/pub/gnu/gmp/gmp-4.2.2.tar.bz2 tar -xjvf gmp-4.2.2.tar.bz2 cd gmp-4.2.2...

Facts on Bandwidth

How much is 1 meg? Every time someone views your web page all of the data (html code, text,...

How to install Zend Optimizer

How to Install Zend Optimizer/Encoder on cPanel/WHM Zend Optimiser is a PHP addon which offers...

Protecting Yourself Against Viruses & Data Loss

It is vital to ensure your computer is protected from viruses and trojans. As well as installing...

Common SSH Commands - Linux Shell Commands

Navigating in UNIX pwd Shows the full path of the current directory ls Lists all...