Tracking the performance of your site has never been easier. With HandsOn Connect you can use Google Analytics natively to track all your Web site stats.
Sign up for an account at Google Analytics.
If you have not already done so for other websites you manage, visit www.googleanalytics.com and set up an Account. They will walk you through the process.
Add a new profile in Google Analytics and enter the domain or full URL for the site you want to track.
They will ask you the main page of the URL you are tracking. If you are doing this before GOLIVE, you will have a force.com website. Once you go live, you can always go back in and create a new Website to follow by creating a new Profile. When you finish this process, Google Analytics will give you all this code that you have to put in your website on every page. We aren't going to use this code. You can just ignore it. Salesforce already has Google Analytics integration.
Copy the Web Property ID
The Web property ID starts with the letters UA followed by your account and profile numbers. For example, UA-9049246-2.
In the CMS choose Google Analytics from the Add-On Menu
Paste your code (for example) UA-9049246-2 in the form, and click Save Settings.
In 24 hours your site statistics will start to show up when you log into your google analytics account.
You can learn more about using google analytics from the extensive help pages that are part of Google Analytics