Hi, I have created my own traffic system but before I start selling I want to set up pages with stats enabled! How do I do that?

For example - Traffic originated from example.php and redirects to SITE A.com now I want to know the traffic by keeping a stat in 'example.php' how do I do it?