Adding Google Analytics Tracking to SharePoint Using SP SIN

I’ve updated SP SIN to version 1.1 this weekend to incorporate some of the suggestions I’ve gotten from people. Included in that release is an example of what you can do with a custom resource type, and that is to add Google Analytics tracking to your SharePoint site.

However, I also wanted to show what you can do with SP SIN resource types, so I added some additional user interaction in case of problems with the configuration. The methods used are based on the techniques described in the USP Journal issue Advanced Content Type Development with one obvious benefit of this method being that it works great across all versions of SharePoint (note that I’ve built SP SIN to target SharePoint 2010, but it should be fairly easy to build a version for SP2007 as well).

To show how it works, I created this video:

I’ve made both the WSP and the source code available for download on the SP SIN CodePlex site


Found this article valuable? Want to show your appreciation? Here are some options:

a) Click on the banners anywhere on the site to visit my blog's sponsors. They are all hand-picked and are selected based on providing great products and services to the SharePoint community.

b) Donate Bitcoins! I love Bitcoins, and you can donate if you'd like by clicking the button below.

c) Spread the word! Below, you should find links to sharing this article on your favorite social media sites. I'm an attention junkie, so sharing is caring in my book!

Pin It

Published by

Bjørn Furuknap

I previously did SharePoint. These days, I try new things to see where I can find the passion. If you have great ideas, cool projects, or is in general an awesome person, get in touch and we might find out together.

Leave a Reply

Your email address will not be published.