https://www.google.com/accounts/New...ttp://www.google.com/analytics/home/?et=reset Sign up with them Then they will give u a code snippet add it just before </body> tag of the website (index file) that you need to monitor
I'm using alot of variables within my php codes so i've jsut added the code to an include.php file which every page on the site uses. Is this right?
check in view source of page and you will know the same. Google analytics code should be there on page so if its there then its fine and if its not there then there is something wrong.
yep its there thanks. The problem with analytics is that it can be easily faked. The owner can simply add the code for a low traffic to site to his high traffic site to fake the stats. Is this true? If so then cpanel awstats is more trusting
If you are calling this include.php in all files you can add in it. I think may be you use footer.php. You can call in that file also.
alternatively, if you are using any script, you can add it to the footer file. That will track all hits to each and every page.
I like awstats too. The data is displayed well and everything you need to know is on screen - you just need to glance at figures. I've recently been using Analytics to get more detailed information, but it's good to use two or three tracking programs to get a good average number for unique hits and so on. Both stats programs have their merits.