Google Analytics tracks the referring domain (and path) for every visit by default, so no, you shouldn't have to do anything custom.
-Charlie On Wed, Feb 27, 2013 at 4:33 PM, Genny Engel <gen...@sonoma.lib.ca.us>wrote: > 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 [CODE4LIB@LISTSERV.ND.EDU] on behalf of Kimberly > Silk [kimberly.s...@rotman.utoronto.ca] > Sent: Wednesday, February 27, 2013 11:13 AM > To: CODE4LIB@LISTSERV.ND.EDU > 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 ( > https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSocial?hl=en_GB > ). > > 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, > Kim > > --------------------------------------------------------- > 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 > kimberly.s...@martinprosperity.org<mailto: > kimberly.s...@martinprosperity.org> > @kimberlysilk > > www.martinprosperity.org > Twitter: @MartinProsperit >