First of all you need to sign up for an account on http://www.000webhost.com
Ok once you have signed into the cpanel, click the button 'stats tracking code' under the heading 'Useful stuff'
Then choose whatever hitcounter you like best the click get code it should look something like this:
<!-- START OF HIT COUNTER CODE --><br><script language="JavaScript" src="http://www.counter160.com/js.js?img=11"></script><br><a href="http://www.000webhost.com"><img src="http://www.counter160.com/images/11/left.png" alt="Free web hosting" border="0" align="texttop"></a><a href="http://www.hosting24.com"><img alt="Web hosting" src="http://www.counter160.com/images/11/right.png" border="0" align="texttop"></a>
<!-- END OF HIT COUNTER CODE -->
In notepad or whatever text editor you want create a new file that looks something like:
<html><body>
<!-- START OF HIT COUNTER CODE -->
<br><script language="JavaScript" src="http://www.counter160.com/js.js?img=11"></script><br><a href="http://www.000webhost.com"><img src="http://www.counter160.com/images/11/left.png" alt="Free web hosting" border="0" align="texttop"></a><a href="http://www.hosting24.com"><img alt="Web hosting" src="http://www.counter160.com/images/11/right.png" border="0" align="texttop"></a>
<!-- END OF HIT COUNTER CODE -->
</body>
</html>
Save it as 'index.html'.
Next click 'File manager' under the heading 'Files'
Navigate to the folder public_html and click upload
Then upload the index.html we made earlier.
Go back to the cpanel and click the button entitled Website stats
here you will be able to see the IP address, OS and browser of visitors to your site.