Hi Kim,
If I am reading your question correctly, just setting up an advanced/custom segment in Google Analytics that tracks traffic coming from fb and twitter should do the trick.   

Create an advanced segment, name it and then set it to "include"  "source" then use "Matching RegExp" and fill in the form with:

(or whatever you want....that's just some of the sources I use...including and hootsuite because we use hootsuite here at SI)

You can then put that custom segment on your dashboard in a widget if you want.  Or not. 


Keri Thompson
Head, Web Services Department
Smithsonian Institution Libraries
e. [log in to unmask] t. 202.633.1716 @DigiKeri_SIL || ||

-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of Genny Engel
Sent: Wednesday, February 27, 2013 4:33 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] Adding Twitter to Google Analytics

You shouldn't have to do any setup for basic counts to show up.  Traffic coming directly from Twitter or Facebook ought to be appearing under 
   Traffic Sources -> Social -> Overview

From: Code for Libraries [[log in to unmask]] on behalf of Kimberly Silk [[log in to unmask]]
Sent: Wednesday, February 27, 2013 11:13 AM
To: [log in to unmask]
Subject: [CODE4LIB] Adding Twitter to Google Analytics

Hi Everyone,

I am running a wordpress-powered web site and use Google Analytics to measure our traffic. I would like to set up Analytics so that it measures traffic coming from Twitter and Facebook. I see that Google Analytics can be set up to track social interactions, but I'm feeling overwhelmed by the instructions on how to set it up (

Have any of you successfully set this up? Care to share your tips?

It would be wonderful if there was a simple edit to the WP code, or a plugin - am I dreaming?

Many thanks,

Kimberly Silk, MLS
Data Librarian, Martin Prosperity Institute Rotman School of Management at the University of Toronto
105 St. George Street, Suite 9000
Toronto, ON M5S 3E6

President, SLA Toronto Chapter

Office: 416-946-7032 <-- New!!!
Mobile: 416-721-8955
[log in to unmask]<mailto:[log in to unmask]>
Twitter: @MartinProsperit