gb2007:
eric,
think i follow the exact instruction to install GA module on my site. However when I go to GA site to check the status, it still says that "The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.". AM I missing anything here or it's just a time issue and i should wait a little bit longer?
BTW, I copied the code from the README file to tpl_main_page.php but I notice that code is different from the code on GA site. WIll that be an issue?
thanks,
gb2007
My suggestion would be to "start over" from the beginning. If you are using the Google Analytics that is available from the Downloads section, then the only thing you should need to copy from the readme file is the portion of PHP code that eventually will insert the Google Tracking code on the bottom of your pages (should be pasted just above the closing "</BODY> tag on your page).
That alone will not install the module though. You have to follow the first few steps as well. Upload the proper files to your website as indicated in the readme, then run the SQL file from your Tools > Install SQL Patches (in the admin).
After all that, you need to CONFIGURE the system by entering your GA Number in the "Configuration > Google Analytics Configuration" section (of the Admin).
The code you are copying to the tpl_main_page.php file is NOT the actual Google Analytics code. It is simply the PHP code used to insert the tracking into the footer of your web site pages.