分享一下搜尋的使用Google Analytic方法:
第一個是
Xoops總站 XOOPS FAQ > DEVELOPMENT AND CUSTOMISATION > Hacks and modifying code 裏面的文章
http://www.xoops.org/modules/smartfaq/faq.php?faqid=593
[code]
How do I use Google Analytics with my website?
Requested and Answered by Bluenova on 2006/5/10 5:07:12 (5128 reads)
Sign up for Google Analytics here
Once your account is activated, login to Google Analytics and setup your profile.
At the end of setting up your profile you will be given some code to add to your website, copy this code.
Edit this file on your website:
/*XOOPSINSTALL*/themes/*YOURTHEME*/theme.html
(/**/ denotes: This will be different for your website.)
Scroll to the end of the file and find:
Paste the code immediately BEFORE this tag. Save the file.
Browse to your xoops website administration go to:
System Admin >> Preferences >> General Settings
Scroll down to:
'Update module template .html files from themes/your theme/templates directory?' and select 'Yes'
Browse to a couple of pages on your website, then go back to Google Analytics and click 'Check Status'. The status should now say 'Waiting for Data'.
If it still says 'Tracking Not Installed' Google Analytics cannot see the code, please make sure you have followed all the steps above.
Go back to:
System Admin >> Preferences >> General Settings
Scroll down to:
'Update module template .html files from themes/your theme/templates directory?' and select 'No'
The setup is now complete. Google Analytics will continue to say 'Waiting for Data' for the next 12 to 24 hours, after that it will say 'Receiving Data' and you will be able to view your site stats.[/code]
第二個是
Atom's Club的網站管理員-微細-的方法
http://www.chehjh.kh.edu.tw/~atom/modules/newbb/viewtopic.php?forum=15&post_id=532&topic_id=428
登入後,點選--管理員選單,
點選--系統管理--系統設定------偏好設定--Meta 標記及頁尾註腳
將Google Analytics code 貼入頁尾資訊,並且按確定。即可。