« Previous | Next»

Integrating Feedburner's Blog Stats into Lifetype.

Posted by coldtobi | 2 Jul, 2007, 23:38

Feedburner 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}
...
{else}
..
{/if}
 (On the standard template set, the /if this is at the last line.)
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:

0 Comments | "Integrating Feedburner's Blog Stats into Lifetype." »

Add comment

 

 This is the ReCaptcha Plugin for Lifetype

Due to German legislation, all comments are moderated. If you get NO error message, your comment is accepted by the system and will be released at the earliest opportunity. Sorry for the inconvenience this might cause.

Inappropiate comments might be edited or not accepted.