5 Steps to View Your Facebook Fan Page Stats in Google Analytics

Written by  March 16, 2010

If you’ve had a Facebook Fan Page set up for any amount of time, you may have noticed a little thing called Facebook Insights. This “tool” is reportedly Facebook’s answer to analytics.

Most SEO and social media consultants will feel compelled to tell you that Insights offers very little insight. Aside from who has commented on your updates and the age, gender and geographical breakdown of your fans, there isn’t much other insight Insights can provide.

Almost makes you wish there was a way to use Google Analytics to see how your Facebook Fan Page is doing doesn’t it?

I’m happy to report, after finding a hack produced by the folks at Webdigi, a London-based Web Development company, there is a way to set up your GA account to retrieve Facebook stats.

Here’s how:

  1. Assuming you already have a Google Analytics Account, set up a new website profile, titling the new profile “Facebook,” “Facebook/URL” or something you’ll know is your Facebook analytics. Be sure to find and copy the UA code provided once you set up the new profile. (the code will look something like UA-#######-#)
  2. Because Facebook allows for limited Javascript (whereas Google Analytics required a more robust use of Javascript), you’ll need to create an image of each Facebook page you want to track. Luckily, Webdigi has a Google Analytics link generator for Facebook pages (http://ga.webdigi.co.uk/) available for free use (thus far, this is the only tool available that I can find that does this sort of link generation for Facebook to GA).
  3. Copy the entire Webdigi code provided into the part of the Fan Page you are tracking. (For instance, if you want to track your coupon tab, discount tab and special offers tab you’ll need a separate code for each page.) You’ll need to paste the code in an FBML on that page, below whatever HTML you may have used in the FBML (see image).
  4. Facebook-Google-Analytics

  5. To track your Facebook Fan Page Wall, you’ll need to create an FBML page which can be transferred into a box that appears on the left hand side of your wall. One of the best ways to do this is to post a list of resources or links, embedding the Webdigi below your HTML.
  6. Google Analytics will take approximately 24 hours to confirm your code and begin to report results. Once the checkmark appears next to the name you’ve designated for your Facebook Google Analytics, you will be able to measure metrics above and beyond what Facebook Insights provides.
If you enjoyed this post, make sure you subscribe to my RSS feed!

Related articles other people have read:


2 Responses to “5 Steps to View Your Facebook Fan Page Stats in Google Analytics”

  1. Jackson on March 16th, 2010 2:15 pm

    You know you can setup an “Advanced Segment” within your current Analytics account (button > top right)… this is pretty much the same as a profile, except you can view it all within one account… against your other traffic, or by itself.

    Perhaps there are shortcomings of this approach, but I’ve done both and honestly prefer the convenience of having the segment integrated in my main analytics profile.


  2. watchdogtime on March 25th, 2010 4:22 am

    Aren’t fan pages supposed to be for products?

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!