I need to program a code that can track/monitor web page HITS, VIEW and VISIT. As we can see here, HITS, VIEW and VISIT are different things!

For HIT refrence - http://www.webopedia.com/TERM/H/hit.html
For VIEW reference - http://www.webopedia.com/TERM/P/page_view.html
For VISIT reference - http://www.webopedia.com/TERM/u/unique_visitor.html

i'm blur, ....

If i'm not mistaken, we can count VIEW by counting ++1 for each user login.

So how about VISIT and HITS?
please help me!

thanks in advance.