Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I Extend Blogengine.Net to collect statistics of visitors?

I love BlogEngine. But from what I can se it does not collect the standard information about the visitors I would like to see (referrer, browser-type and so on).

When I log in as Admin I have a menu item named "Referrer". I can choose a weekday and then I'll be presented with 1 or 2 rows with

"google.com 4 hits, "itmaskinen.se 6 hits" and so on, But that's not what I want to se, I want to se where my visitors come from, country, IP if possible, how many visitors and so on.

If someone of you are familiar with Blogengine.Net and can point me in the right direction to where I would put my own log-code or if you know any visitor-statistic-extension that can do it for me, I would be really happy to know. I prefer an extension, because if I make changes myself to BlogEngine it may break later updates I install.

Blogengine.Net is a blog software made in .Net found here: http://www.dotnetblogengine.net/

And yes, I prefer to take this question here rather then in the Blogengine.Net forum, you know why. ;)

(Anyone, feel free to edit my (bad) english in this post and after that delete this sentence)

like image 803
Stefan Avatar asked Sep 19 '08 21:09

Stefan


1 Answers

This isn't an extension, but it's what I use to collect all my blogengine.net data and it should be upgrade safe.

When you log into the Blogengine.NET admin screens you can go to "Settings> Custome Code > Tracking Script", here you can put your http://www.google.com/analytics/ logging script. Google Analytics provides all the referrer, browser type, etc stuff you were wanting. And what's nice is you can then create additional accounts for other sites if you choose.

like image 63
JPrescottSanders Avatar answered Jan 04 '23 00:01

JPrescottSanders