Integrating Feedburner's Blog Stats into Lifetype.
Posted by coldtobi | 2 Jul, 2007, 23:38Feedburner has some nice statistic tools for a blog. However, they have not an example ready, how to integrate the tracking code into the lifetype blogging plattform.
To give them them a try,I had to integrate the stats into my current template set. Its easier as I first thought.
Here are the instructions:
The generic code sample is quite near the "real script" we want to insert into the blog's templates. The post.template file is the place to look at, so open it with your favourite text editor.Find this construct: (irrelecant code left out...)
{if $OnMainPage}(On the standard template set, the /if this is at the last line.)
...
{else}
..
{/if}
The lifetime's equivivalent of the magic token "POST-URL-HERE" is {$url->postPermalink($post)}, so you have to insert
<script src="http://feeds.feedburner.com/~s/blogid?i{$url->postPermalink($post)}" type="text/javascript" charset="utf-8"></script>
Do not forget to edit the grey section! "Your FeedFlare URL" goes here. The blogid is available at your FeedBurner Preference page. In my case it is "http://feeds.feedburner.com/~s/ColdtobisB", so that you know what to look for.
Blog and Website, Lifetype | Comments (0) | Trackbacks (0)
Related Articles:
- Seamless integration Google Search into Lifetype (Part 3)
- Seamless integration Google Search into Lifetype (Part 1)
- Seamless integration Google Search into Lifetype (Part 3)
- Squirrelmail and lighttpd -- An Installation Guide --
- Small bugfix for Recaptcha