Skip Ribbon Commands
Skip to main content

Laura Rogers @WonderLaura

:

Quick Launch

Laura Rogers @WonderLaura > Posts > Your Site’s Most Popular Content: Web Analytics Web Part
Hi everyone,
My blog now has a new URL!
You can now find me at http://www.wonderlaura.com
October 26
Your Site’s Most Popular Content: Web Analytics Web Part

There is an out of box web part in SharePoint 2010 called the Web Analytics web part, and it is part of the enterprise and standard versions of SharePoint 2010, and it is NOT available in SharePoint Online in Office 365.
** corrected 11/3

First of all, a couple of my colleagues have written blog posts about web analytics.  Todd’s is from an admin’s perspective, and Jennifer’s is about the web analytics workflows.

This post is about the web analytics web part and what it can do for you.  First of all, there is a site collection feature that needs to be activated: “Advanced Web Analytics”

ch5[57]

The Web Analytics Web Part is in the category of web parts called “Content Rollup”, and when you insert it on the page, this is what it looks like at first:

(I’m using my own My Site for testing here, so all of the links are random stuff that I test and try)

webanalytics1

Don’t worry, I know it looks pretty messy and this is not necessarily you’d want to show end users, but there are plenty of settings that you can change.  Open the web part properties toolpane:

webpartproperties

When I change the web part to show search results, it looks a lot different, and cleaner.  It simply shows me the recent search terms that have been used on my site.  Clicking on any of these words will take you to the search results page for that search:
search

Information to Display - Basically, your results can either be a list of content, things like pages and files that have been accessed, or it can be a list of common searches that are performed. Site search queries are just common terms that people have looked for on the current site, and search center queries are common searches that have been done using the search center site.

Site Scope – If you have selected Most Viewed Content in the “Information to Display” box, you will be able to use this drop-down box to pick either This Site Collection, This site and subsites, or This site only.  Whichever you choose, the web part will only show commonly accessed content from that location/scope.

Search Scope – If you choose search center queries in the “Information to display” box, then you can pick a specific search scope to narrow it down to.  For example, if you have a site where you keep all of your company policies, and you’ve created a custom search scope for it in search administration in central admin, then you can pick that specific scope name here, and the web part will only show common searches that people perform when they’re looking for company policies.

Period – By default, the web part only shows you content or searches that have been done in the last 30 days.  You can change that number of days, and the maximum is 180 days.  The web part won’t show any content that has been accessed or searched for longer than X many days ago.

Item Limit – How many items will show in the web part.  The higher the number here, the longer the web part will be vertically down the page.  The default is 10.

Exclude item title or search query containing – This can be a comma separated list of words that you would NOT like to appear in this web part.

Show Frequency – This is the number of times the item has been accessed or searched for.  It puts a number in parentheses after each item in the list.
frequency

Show  Popularity Rank – This setting will put the list of results in numerical order in the web part, according to how popular they are.  Notice that in this screenshot, the item that has been accessed 43 times is listed first.  Also notice that the items are listed in order of popularity, even when there is no popularity rank number next to them (see previous screenshot).
popularity

Show Popularity Rank Trend – This setting will put little green arrows next to things that are becoming more popular, and it will put the word “new” next to items that are new in this list of content.
trend

Enable User Title Filtering – This is pretty cool, it lets you see what people of a certain job title are accessing or looking for.  In this screenshot, the Information to Display has been set to show search result queries, and I’ve checked the box for user title filtering.  (This box will only show job titles if you’ve actually set up user profile synchronization and all of the user profiles have the correct job title.)  Once you select a job title, the list of results will change automatically.  For example, if I select the job title “Consultant”, it will then show me a list of thinks that consultants have been searching for.
usertitle

Enable User Department Filtering – This is the same concept as the job title filter, except it lets you filter by the name of the department.  You can even add both of these by checking both boxes.

Enable RSS Feed – This will put a RSS icon that links to a RSS feed of the list of all of the items that show in this web part.

The following web part is showing the most popular searches that have been done, it lets you filter by job title and/or department, it shows the frequency, popularity rank, and there’s a link for the RSS feed:

Allsettings

It would be nice if I could just put the current user filter web part on this page and connect it so that it sends the currently logged in user’s department to the web analytics web part, but it appears that the web analytics web part doesn’t accept connections at all.

 

Comments

Erik Sokolovsky

Laura - thanks for this article, very informative and timely information.  One small correction.  You write "There is an out of box web part in SharePoint 2010 called the Web Analytics web part, and it is part of the enterprise version of SharePoint 2010".  Web Analytics however is part of the STANDARD version of SharePoint Server 2010 - enterprise is not required.  Web Analytics is not included in SharePoint Foundation.
Shane YoungNo presence information on 11/3/2011 2:00 AM

Laura

Thanks Erik!  I made the correction.
Laura RogersNo presence information on 11/11/2011 8:06 PM

Manu

Hi Laura, as usual great post! I was wondering if there is a way to show the storage properties (site size) of a site or sub-sites in a top-level sites using the web analytics web part or another web part/method for that matter? Thanks!
Shane YoungNo presence information on 11/15/2011 9:14 PM

Laura

Manu, Possibly one of the web services could give you this information, such as sitedata.asmx or webs.asmx.  Not sure off the top of my head.  Take a look at this post, to see more about how to try that: http://www.sharepoint911.com/blogs/laura/Lists/Posts/ViewPost.aspx?ID=18
Laura RogersNo presence information on 11/23/2011 8:55 PM

karthick

Web part is showing the most popular searches and it lets us filter by job title and/or department.  I want to do a filter on the Office location. what should i do for in adding this filter.   How to integrate web analytics web part with User Profile information ( active directory ) to get various filters like Office location etc.
Shane YoungNo presence information on 11/29/2011 3:57 AM

Laura

Karthick, Unfortuunately, it doesn't appear that those other fields are options, so I'm not sure how/if you can go about adding other fields.
Laura RogersNo presence information on 12/19/2011 9:44 AM

Rich T.

Hi Laura,  I was looking around on the internet about sharepoint 2010 workflows and any known performance issues. If performance is a problem, then would it make sense to use some third party workflow solution?  Thanks for your time.  Rich T.
Shane YoungNo presence information on 1/5/2012 8:34 AM

Laura

Rich, I can't figure out how your question is related to this post, but to answer your question, many of the 3rd party workflow tools still use the sharepoint workflow engine, and some have their own.  So I guess you'd have to define what your performance issue is, and talk to each vendor about how/if their product would fix it.
Laura RogersNo presence information on 1/7/2012 6:51 PM

pankaj

Hi Laura,

Is there any way we can remove (using htp:// url).
Kindly suggest a way if possible.

Thanks,
Pankaj
 on 3/15/2012 1:04 AM

Laura

Hi Pankaj,
I agree with you that those long URLs make it ugly, but I don't know of any way to change that.
lauraNo presence information on 4/12/2012 9:50 PM

Clayton

 on 5/2/2012 11:09 AM

Veronica

Very useful article and well detailed. Exactly what I needed! Thanks for taking time to do that. Cheers
 on 5/3/2012 7:37 AM
​I have disabled any new comments on this, because my blog has moved to a new site.  Please go here: http://www.wonderlaura.com
RSS FeedFacebookYouTube
 

 Our Books for End Users