How do I add Google Analytics to my Web Pages

You can use Google Analytics to analyze visitor statistics of your Web Page(s). This is what you have to do:

1. You need a Viewbook paid account to enable visitor statistics with Analytics.
2. Create an Analytics account at http://www.google.com/analytics/sign_up.html.
3. Copy the Analytics ID. You find this ID in your tracking code under the 'New Tracking code' tab. The tracking code looks like this:

<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-2500703-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

4. Copy the ID inside the brackets, in this example it's: UA-xxxxxx-x

var pageTracker = _gat._getTracker("UA-xxxxxx-x");

5. Paste the ID (without quotes) into the 'Google Analytics' input field of your web page details.

Note: be sure to use the 'New Tracking Code' from Google Analytics.