title: How to count unique visitors on webpage
body: <p>I want to know how to count unique visitors on webpage with Javascript (ReactJS + NodeJS(Express) i mean when user loads page it should send user's data to validate and if it is unique add it to database. there are this options (what i figured out)</p>
  
  <ol>
  <li><p>Use client's IP address as validator.</p></li>
  <li><p>Set Cookie</p></li>
  </ol>
  
  <p>first one is not good because many device can share same network and many visitors will be lost.</p>
  
  <p>Second one is not good option because cookie can be manipulated &amp; deleted (if it is httpOnly then only deleted)</p>
  
  <p>So what is best way to count visitors? my aim is to make something like <img src="https://i.stack.imgur.com/zDlqf.png" alt="">. this</p>