Google Sites Install Guide

StatCounter provides free customisable hit counters, visitor tracking, web analytics and website stats for Google Sites.

  1. Sign up for a free account at StatCounter to get your StatCounter code.

    These instructions will be repeated after you've created an account and added your first project.
  2. Copy the StatCounter code.
  3. Log into your Google Sites account (opens in a new window)
  4. Click on the "Edit Page" icon at the upper right (resembles pencil).

    Google Sites - Edit Page

  5. Under "Insert, select "HTML Box".

    Google Sites - Insert HTML Box

  6. Insert your StatCounter code in the HTML Box and select "Save".

    Google Sites - Insert StatCounter code

  7. When you press "Save" you will see an element labeled "HTML Box" on your page.

    Google Sites - HTML Box Example

  8. You can now drag and drop this box where you'd like on your site. For example, in your sidebar, or towards the bottom of your page. Once you have your HMTL Box where you'd like it, select "Save" from the upper right corner.
  9. If you have selected a visible counter or StatCounter button you wil now see your StatCounter element on your page.

    Google Sites - Example

  10. Note: Google Sites will not allow use of the full JavaScript version of your StatCounter code to be installed. For this reason, some stats will not be available to you - including Keyword Activity, Referring Links and Page Titles.
StatCounter is now active on your Google Sites page and will immediately begin recording visitor information.

These instructions have been compiled and verified: November 2012