Ref. Url: https://www.google.com/support/googleanalytics/bin/answer.py?answer=55480&hl=en_US
How can I confirm that I have entered the tracking code correctly on my website pages? 

Note: This article is for the latest version of the tracking code. If you are using the older version, please read the following article.To determine which tracking code you are using, please see Which version of the tracking code am I using?
Google Analytics will itself check to see that the tracking code has been installed correctly on the home page of your site – once you’ve created a new profile, the Tracking Status will display a warning, “Tracking status unknown,” until the system detects the code.

If you used a WYSIWYG (“What you see is what you get”) editor such as Macromedia Dreamweaver, make sure that you don’t see the code when you’re viewing your page in a browser. Some such editors will attempt to place the code as text on your page – try to use the “source” view when you’re pasting the code to your web pages.

Finally, once your page is live, select View Source from your browser’s menu and look for the code. It should be immediately before the </body> tag of your page, and should look exactly as it was provided to you:

<script type=”text/javascript”>
var gaJsHost = ((“https:” == document.location.protocol) ? https://ssl.” : “http://www.“);
document.write(unescape(“%3Cscript src='” + gaJsHost + “google-analytics.com/ga.js type=’text/javascript’%3E%3C/script%3E”));
</script>
<script type=”text/javascript”>
var pageTracker = _gat._getTracker(“UA-xxxxxx-x”);
pageTracker._initData();
pageTracker._trackPageview();
</script>

You should see your own account number in place of the xxxx-x in the example above. If you need a fresh copy of your code, click the Edit link next to the appropriate profile on the Analytics Settings page, then select Check Status at the top-right of the table.

If your tracking code has been installed correctly, and you’re still not seeing any data after 24 hours, read I’m not seeing any data in my reports

You may also want to know about a free tool that a third-party developer named EpikOne created to help with the process. The tool is called SiteScan and can be found at www.SiteScanGA.com. You can sign up to have the tool crawl your site and check for implementation errors. Examples of errors could be pages that don’t have tracking code or pages that have both ga.js and urchin.js code on them (you shouldn’t run both on a single site). This is not a Google supported or developed tool, but many customers have found it useful.