Social Media Metrics Greasemonkey Plugin For Google Analytics

Update: Hey folks, this page has been getting a lot of traffic (thanks in no small part to SmashingMagazine) and so I thought I would just throw an update here saying that the old Social Media Metrics plugin is [i]discontinued[/i]. But all is not lost! You can find all the same functionality in the Better Google Analytics Firefox Extension.


Last Update: Oct. 10th, 2008

This is technically an update to the "Add the Digg count of your page to your Content Details report in Google Analytics with Greasemonkey" post written in July.

We received a ton of great feedback from the social media and link bait community so I thought we should take this tool to the next level. Not only will it pull the social media metrics right into Google Analytics Content Detail reports automatically, but the icons are interactive. As an example: if you had zero diggs you could click the digg icon and it will automatically take you to the digg submission page.

New metrics pulled into GA include: (more to come soon)

  • Digg
  • Sphinn
  • Mixx
  • Reddit
  • StumbleUpon
  • Del.icio.us
    • Case-sensitive to the url.
  • Yahoo inLinks
    • Case-sensitive to the url.

I expect this script will save you a ton of time. Look forward to your feedback.

Here is a partial screen shot of the script in action:

Social Media Metrics Greasemonkey Plugin For Google Analytics

Note: if you notice a bug, or have an idea on how we can improve this, then please let us know in the comments section below.

Notice:

If the link circled in orange, in the screen shot above, is not correct, then the resulting social media metric data will be incorrect. For anyone that uses the same analytics account for multiple subdomains, for example, this plugin will not retrieve accurate metrics for the page.

Instructions on installing the script:

  • Step 0: (Only applies to those who were previously Adding Digg Count to GA) If you were using the older version of this script, it will need to be removed. To remove it, right-click on the Greasemonkey Icon towards the bottom right of your Firefox browser, and go to "Manage User Scripts…" Find "Add Digg Count to Google Analytics" and click "Uninstall"
  • Step 1: Make sure you have Greasemonkey installed on Firefox.
  • Step 2: Click on this install link. (instead, get Better GA)
  • Step 3: You're all done, now log-in to your Google Analytics account and check it out.

Versions

  • Version 1.0 (July. 11th, 2008): Add Digg Count
  • Version 1.1 (Oct. 6th, 2008):
    • Added Sphinn Count
    • Added Delicious Bookmark Count
    • Added StumbleUpon Review Count
    • Added Yahoo Inlink Count
  • Version 1.2 (Oct. 10th, 2008):
    • Added Mixx Vote Count
    • Added Reddit Point Count
    • Changed Yahoo Inlink Count to collect from Yahoo.com instead of Yahoo.ca
    • Bug fix: The counts are recalculated when an the ajax dropdown menu is used to select a new page to review.
    • Bug fix: StumbleUpon Review Count was sometimes incorrectly 0, because there are two design layouts for StumbleUpon.

Comments
Just installed, this is a great tool for measuring linkbait and backlinks
# Posted By Shane | 10/6/08 2:02 PM
Nice tool,
It will be great if you can add more bookmarking/tagging websites.
Keep up the good work.
# Posted By Rishiraj | 10/9/08 11:11 PM
Very helpful -- will be looking forward to future updates. GA should take some notes about how smooth this works.
# Posted By Dave | 10/10/08 4:14 PM
Thanks Erik! This is awesome plugin - love it!
# Posted By shannon | 10/10/08 4:37 PM
Thank you so much, this is just an amazing plugin! I appreciate you offering this to the masses!
# Posted By wil reynolds | 10/16/08 8:55 AM
Wow! What an awesome tool! I've only heard of
greasemonkey before but didn't realize its mixin
power with the web. This tool ROCKS!!
# Posted By CheyenneJack | 10/23/08 3:35 PM
This is a great tool! Thanks for sharing it!
# Posted By Bryan Coe | 10/30/08 10:26 AM
Nice greasemonkey plugin. It definitely makes pulling the social network referrals data easier. With all these home brewed features, Google Analytics is looking more and more powerful every day.
# Posted By Billy | 11/3/08 6:38 PM
Amazing script! I'm very happy with it! Thank you! :)
# Posted By Feli | 11/8/08 6:43 AM
Where should I see the results of this script within GA? It installed ok (I think), shows up under Greasemonkey > Manage User Scripts, but I don't see any new info under Visitors, or Traffic Sources / elsewhere.
Thanks for your help
# Posted By patrick | 1/31/09 6:45 PM
To view the metrics you need to be viewing a 'Content Detail' report.
# Posted By Erik Vold | 2/3/09 12:51 PM
Sorry to be such a newb, but where is that exactly? I've gone to the area labeled 'Content' and I see Content Drilldown, Content By Title etc. etc., nothing just labeled 'Content Detail' ...
# Posted By patrick | 2/4/09 1:52 PM
You're nearly there, if you're in the 'Content' reports area, then you should see and list of page titles/page names/page urls, if you click on any of these links, you will be viewing the 'Content Detail' report for that page, this is the report that the smmPlugin works on.
# Posted By Erik Vold | 2/4/09 2:17 PM
Aha! Thank you - I knew this was going to be cool. Thanks for the help, and the cool script!
# Posted By patrick | 2/4/09 2:21 PM
Thanks!
# Posted By Adriel Hampton | 2/7/09 7:14 PM
Does this work with Flock? I can't seem to get it working.
# Posted By john | 2/13/09 8:46 AM
I will use this tool beacuse i hope you will give good analytics regarding website analysis.
# Posted By frank | 2/13/09 3:24 PM
Thanks for Providing the essential tools.
# Posted By Listorbit | 3/17/09 2:02 AM
Stoked! Great plug in!

Shame most of my pages are zeros :( LOL...

Now to work on that!
# Posted By Kye Grace | 3/27/09 5:28 PM
superb tool, just planning all my social tracking, brilliant.. thanks very much
# Posted By claire stokoe | 6/6/09 1:52 PM
Impressive script, thanks Erik, it really adds value to the reports section now and can help with a lot of social media planning.
# Posted By Samuel Grafdom | 7/20/09 10:17 AM
I have had this installed and working for a while, but I just started paying attention lately to my StumbleUpon reviews and notice that it's not accurately reporting them. For example, I have a page that has had 3 reviews, but it shows zero in GA. Thoughts?
# Posted By Marty Martin | 7/21/09 11:43 AM
Hey folks, this plugin is waaaaay out of date (oct 2008!), but you can find all the same features in our "better GA" plugin located here: http://www.vkistudios.com/tools/firefox/betterga/i...
# Posted By KentC | 7/22/09 8:43 AM
Thanks for the update. This page is being linked to from a lot of search sources, you hsould 301 it to the new page ;)
# Posted By Marty Martin | 7/22/09 10:27 AM
Yep thanks for the plugin mate
# Posted By sam cld | 10/30/09 7:37 AM
Google analytics are very helpful in know much about the visitors, it provides the full information about the browser and browser capability, which helps in improving the visitors visibility,

thanks for the resource.
# Posted By MSPB lawyer | 12/5/09 4:05 PM
Thank you for sharing.information about the greasemonkey plugin . It has great information. Just what I was looking for
# Posted By seo company india | 12/29/09 5:09 PM
.