CHUVASH.eu

CHunky Universe of Vigourous Astonishing SHarepoint :)

Google Analytics in Sharepoint

Google Analytics is a popular and mature tool for monitoring network activities on your site. Why not use it in Sharepoint? Dave Coleman and Mike Knowles provide good guides for doing that. There is a promising plugin to SP SPGoogleAnalytics which integrates both and provides an easy interface to put GA to your SharePoint installation and see the data directly on your intranet. It comes from codeplex:

What do you think about spgoogleanalytics.codeplex? When I recently had to turn on Google Analytics on an intranet, I had no time for evaluating SPGoogleAnalytics, so I did the harder way: just put ga script in the end of a master page, just before ending </body> tag.

But what if one has multiple masterpages? Is there a way to put GA in one step? Maybe a user control like Knowles suggests?

Advertisements

4 responses to “Google Analytics in Sharepoint

  1. Kay 2011-12-06 at 18:05

    I wouldn’t use it simply because SharePoint 2010 include extensive tracking, reporting and analytics features of its own that can also track internal data that google analytics would be unaware of. Google analytics also doesn’t work exceptionally well on secured internal traffic.

    If you have to use google analytics, you could wrap it into a user control, just be aware that if you disable the feature used to deploy the web part, you will need to gracefully handle disabling it. Knowles implementation is less than ideal because it doesn’t allow for centralized, granular administration. Here’s some rules for that type of implementation:

    -Create a web part or user control to deploy the script with optional parameters configured on the web level, preferably per site

    -Embed the control into the master page

    -Deploy the web part in the same solution and feature as the master page you’re using; pseudo-stapling

    -Create an application page to customize two property bag properties representing the tracking account qualifiers and a bool “enabled property” that administrators can configure (i.e. bool isEnabled = Web.AllProperties[“GoogleAnalyticsIsEnabled”];). It’s also a good idea to make this page site collection level so you can manage all subwebs at once and provide a simple interface for doing so. This allows you to individually choose which sites google analytics does and does not track on a granular basis from within SharePoint.
    (Note: if GA loses track of the user as they jump around the site collection and enter an untracked site, it may register false entries, dual hits, or incorrect paths in its logic. Using SharePoint statistics avoids this)

    -Create a feature receiver that automatically handles installing and retracting the property bag properties when the feature is retracted.

    • Dave 2012-05-16 at 17:38

      Whilst SharePoint Standard 2010 provides analytics, we found it very high level. Our Internal Communications team was constantly complaining there was no in-page analytics, the statistics were too generic and there was no geographical information, no meaningful dashboards and generally a very unappealing look and feel. Google Analytics provides low level comprehensive reporting couple with engaging dashboards, you would probably page vast amounts of money for an equivalent off the shelf solution.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Discovering SharePoint

And going crazy doing it

Bram de Jager talking Office 365, SharePoint and Azure

My view and thoughts on Productivity and more.

My programming life

and everything in between

SharePoint Development Lab by @avishnyakov

It is a good place to share some SharePoint stories and development practices.

SharePoint Dragons

Nikander & Margriet on SharePoint

RealActivity - Real-time and trustworthy

Blog site of founder, RealActivty - Paul J. Swider

Mai Omar Desouki - Avid SharePointer

Egyptian & Vodafoner - Senior SharePoint Consultant

Cameron Dwyer | Office 365, SharePoint, Outlook, OnePlace Solutions

Office 365, SharePoint, OnePlace Solutions & Life's Other Little Wonders

paul.tavares

Me and My doings!

Share SharePoint Points!!

By Mohit Vashishtha

Jimmy Janlén "Den Scrummande Konsulten"

Erfarenheter, synpunkter och raljerande om Scrum från Jimmy Janlén

SPJoel

SharePoint for everyone

SharePointRyan

Ryan Dennis is a SharePoint Solution Architect with a passion for SharePoint and PowerShell

SharePoint 2020

The Vision for a Future of Clarity

Aharoni in Unicode, ya mama

Treacle tarts for great justice

... And All That JS

JavaScript, Web Apps and SharePoint

blksthl

Mostly what I know about SharePoint - CommunicoCuspis

%d bloggers like this: