title: What is best system for counting visitors?
body: <p>I have been looking for different systems that count visitors on the website , and saw hundreds of different counters even had my own little counter that looks like this :</p>
  
  <pre><code>$visitor = $_SERVER['REMOTE_ADDR'];
  $viewspage = mysql_query("INSERT INTO pageviews VALUES('".$visitor."', ".$id.")");
  </code></pre>
  
  <p>Of course that was very useful , but I realised that people with dynamic ip's really change fast and the same person can be counted thousand times , So what is a solution that would be a fix to this? Is there maybe the mac adress that is one per device/pc/mac I wonder , or More less Im looking for a system that Ive seen not too long ago, it put me at interest , and if somebody can explain how it works, it looks like this :
  <img src="https://i.stack.imgur.com/mZdeE.png" alt="enter image description here"></p>
  
  <p>So whats the system and which is better than my current one :) thanks !</p>
  
  <p>EDIT: I know of Google System , They wount allow me to show that onto my website , and whether there is a mac or pc , I wondered how that was determined , other than that I can keep a look :) It didn't seem this hard , but the computer identified by model is what made me wonder more into this system more in the first place , thanks !</p>