Plugin googleanalytics
From LifeType Wiki
Name: Google Analytics
Latest version: 20070302
Download link: http://prdownloads.sourceforge.net/lifetype/1.2_googleanalytics.zip?download
License: GPL
Author: lss
[edit] Description
This plugin do 2 things.
1. It offers a settings page in blog settings. Blogger can fill in his _uacct code which 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.
[edit] Installation
Just unpack the pluing zip file to your lifetype plugins folder, then refresh browser in plugins center. You can find googleanalytics plugin installed.
[edit] 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.
Add template code blow to your header.template, just above </head> tag.
{if $googleanalytics}
{$googleanalytics->getJavascriptCode()}
{/if}
</head>
