I am writing php code to track the visitors details who is visiting that web page. Now i want to write a javascript code on the pages i want to track. The javascript code will be using that php file code which i am writing to track visitors.
Can somebody please guide what should be my javascript code.