A A A Font Size

SharePoint SEO

How to Use Google Analytics with SharePoint 2007

Google Analytics (GA) is cool.  It’s robust enough for the major analytic components and you just can’t beat the value – mainly because it FREE!  GA is a web analytics package provided free by Google.  You sign up, plug some JavaScript into your site (provided to you during the sign up process) and of f you go to the next corporate meeting with the long needed proof to open that office in Hawaii!   

GA wires up to SharePoint 2007 tightly.  Thanks to the way SharePoint 2007 uses master pages, it’s a breeze to hook it up (almost).  I’m using GA for multiple sites, some are SharePoint 2007 WCM sites and some are not.  As you know, SharePoint already has some built in usage analysis capabilities and they are pretty good.  GA extends these capibilities and provides a more common interface and set of tools for slicing your web site usage data.

GA can be wired up to SharePoint 2007 by pasting the JavaScript code (provided to you by Google during the setup process) into the master page file somewhere within the HTML body tags.  The trick is back at the Google site you just signed up for…  You need to activate your new site after you paste the JavaScript into your master page.  To activate your new site, you need to provide the URL.  Here’s the “gotcha” part:  If you are using a publishing site (and you likely are if you are wanting to wire GA to it), then you need to provide the “/pages/default.aspx” part of your URL after the domain name.  For example; if your domain is www.mydomain.com you would enter www.mydomain.com/pages/default.aspx.  This is because Google won’t like the fact that it’s getting redirected to /pages/default.aspx and will bail if you don’t provide that part. 

GA is not the most robust analytics package out there, but it’s a great place to start if you’re not already using a web analytics package.  It will show you all the main things you need to know, and in time as you’re usage becomes more sophisticated, you will at least know what you need in your next package (the one that is NOT free)! 

You must sign in to rate content.
(2 ratings)

Comments

Question about SharePoint Site Usage Report

Sean, Do you know how to translate SharePoint's site usage reports? For example, when you generate the report called monthly summary - page, it lists "total hits." Does this mean the total number of visits to the page? Also, if you have headers or graphics on a page, they show up in the report as well. For instance, my home page has 3,758 total hits but the graphics show up as a hit as well. Should I disregard the hits for the images or add them to the total? Any help would be greatly appreciated. Thanks.
marietopete at 10/30/2008 1:23 PM
You must sign in to rate content.
(Unrated)

RE: How to Use Google Analytics with SharePoint 2007

Hi Shaun,

Have you done anything to allow Google analytics to track documents on a publishing site? I found the following code - am curious as to whether you've tried it or anything else:

http://groups.google.com/group/analytics-help-basics/browse_thread/thread/edf62000347a3949

Thanks,

Dan
Dan Scheeler at 5/28/2009 11:31 AM
You must sign in to rate content.
(Unrated)

RE: How to Use Google Analytics with SharePoint 2007

Hi Shaun,

Have you done anything to allow Google analytics to track documents on a publishing site? I found the following code - am curious as to whether you've tried it or anything else:

http://groups.google.com/group/analytics-help-basics/browse_thread/thread/edf62000347a3949

Thanks,

Dan
Dan Scheeler at 5/28/2009 11:31 AM
You must sign in to rate content.
(Unrated)

Question about SharePoint Site Usage Report

Sean, Do you know how to translate SharePoint's site usage reports? For example, when you generate the report called monthly summary - page, it lists "total hits." Does this mean the total number of visits to the page? Also, if you have headers or graphics on a page, they show up in the report as well. For instance, my home page has 3,758 total hits but the graphics show up as a hit as well. Should I disregard the hits for the images or add them to the total? Any help would be greatly appreciated. Thanks.
marietopete at 10/30/2008 1:23 PM
You must sign in to rate content.
(Unrated)

Question about SharePoint Site Usage Report

Sean, Do you know how to translate SharePoint's site usage reports? For example, when you generate the report called monthly summary - page, it lists "total hits." Does this mean the total number of visits to the page? Also, if you have headers or graphics on a page, they show up in the report as well. For instance, my home page has 3,758 total hits but the graphics show up as a hit as well. Should I disregard the hits for the images or add them to the total? Any help would be greatly appreciated. Thanks.
marietopete at 10/30/2008 1:23 PM
You must sign in to rate content.
(Unrated)

RE: How to Use Google Analytics with SharePoint 2007

Hi Shaun,

Have you done anything to allow Google analytics to track documents on a publishing site? I found the following code - am curious as to whether you've tried it or anything else:

http://groups.google.com/group/analytics-help-basics/browse_thread/thread/edf62000347a3949

Thanks,

Dan
Dan Scheeler at 5/28/2009 11:31 AM
You must sign in to rate content.
(Unrated)

Leave a Comment

You must be logged in to post a comment.
Superstar
Sean Bordner
Community Manager
TheSUG.org
Washington, DC
Sean is working on SharePoint 2010 VHD

Search This Blog

 

© 2010 SusQtech. All rights reserved.
Powered by SharePoint Server 2007 and using the MemberToMember SharePoint Add-On for social media capabilities.