I have a rather noobish question. I have read the faq but still it is unclear to me how to install google analytics code into my pages. They say I should add my code of analytics into every page I want to track. But how can I do it if I use a site with a database and there are no separate pages like page1.html, page2.html etc. I can only install the code into my index.php file in my root directory. Please give me some tips on this matter.
I think you can just paste the code anywhere in you php file because it will be between <body> tag. Tell me if it works because I didn't try it.
No, it was a bad idea because I have another script (as a module) n my site and this Analytics made it crush. So I had to download a special plugin for Google Analytics. Now it works fine...
Please check out this video on installing google analytics, it's sharp and straight to the point : search youtube for google analytics installation.
With dynamically created pages you do have to include the code in a separate file, or as you did, in a plug -in More here - http://www.google.com/support/analytics/bin/answer.py?hl=en-uk&answer=55504