Monday, July 7, 2008

Adding Site Meter in Sharepoint site

Hi All,

May times you may require to have site meter which says how many times site is been visited.

It is a kind of Application object in ASP.NET and calculating the total hits on home page (Default.aspx) lets say.

But there is one more easier way and in many varities you can display your site meter.

(1) All you need to do is just open the Sharepoint Designer.
(2) Select your site and page (default.aspx) (file->Open Site)
(3) Select your position in HTML page where you want to keep this site meter.
(4) Click on Insert menu, then select web component
(5) Select Hit Counter in component type
(6) Select the counter style from right hand side panel and press finish.
(7) You get option to reset the counter to 0 (zero) and also maximum digits for that.
(8) After specifying that just save the page, this will make page customized.
(9) Now just go back and check the page.


No comments:

Share your SharePoint Experiences with us...
As good as the SharePointKings is, we want to make it even better. One of our most valuable sources of input for our Blog Posts comes from ever enthusiastic Visitors/Readers. We welcome every Visitor/Reader to contribute their experiences with SharePoint. It may be in the form of a code stub, snippet, any tips and trick or any crazy thing you have tried with SharePoint.
Send your Articles to with your Profile Summary. We will Post them. The idea is to act as a bridge between you Readers!!!

If anyone would like to have their advertisement posted on this blog, please send us the requirement details to