Sunday, July 13, 2008

Blogger.com Custom Code Installation (Google Analytics)

The ability to install custom code in your blog template is one of Blogger.com’ most powerful features, and it’s part of the free account. The problem is that your customizations may be lost if you switch templates. Google Analytics is the most common code modification I make to my blog templates, and it’s a great example of how to edit a template. Follow these steps to install Google Analytics in your Blogger.com template:
  1. Log in to your Blogger: Dashboard and select the Layout link for the blog you want to modify.
  2. First, back up your existing template -- very important! Go to the Layout | Edit HTML tab; select the link to Download Full Template.
  3. Find the location to insert the code modification. For Google Analytics, this is right before the /body tag.
  4. If you need to add the custom code, paste it.
  5. When you’ve completed your modifications, click [Save Template]

No comments: