Google Analytics Plugin v0.1

Description
This plugin do 2 things.
1.It offers a settings page in blog settings. Blogger can fill in his _uacct code whick can be finded in google analytics tracing code.
2.It offers a method call getJavascriptCode returning google analytics tracing code which can be add to template file.

Installation
Just unpack the pluing zip file to your lifetype plugins folder, then refresh browser in plugins center. You can find googleanalytics plugin installed.

Configuration
1.Enter admin page, goto control center -> Google Analytics.
2.Enable this plugin and fill in you _uacct code. You can find this code in google analytics tracing code.

Tempalte
Add template code blow to your header.template, just above </head> tag.

{if $googleanalytics}
{$googleanalytics->getJavascriptCode()}
{/if}
</head>

Of course, you must get a google analytics account first. :P
