Subscribe to my RSS feed RSS
April 16, 2010

How do I set up Google Analytics on a Facebook fan page?

  • Written by under tips, websites |
  • No comments yet |

I’m a big fan of Google Analytics and would really like to use it on a Facebook page, just to gather some more analytics on what’s going on. Is this at all possible?


The great thing about the Web is that, given enough ingenuity, everything is possible. You would have thought that this would be a hard thing to do, but thanks to the boys down at WebDigi, this can be done. Here’s what you need to do:

  • Log into your Google Analytics account, create a new website called facebook.com and get your tracking code for the site. This looks something like UA-1234567-8
  • Head down to FBGAT – The FaceBook Google Analytics Tracker. You can download and host your own version of this or use the hosted version (which is free)
  • Fill in the form using the following details:
    • Analytics Code: This is the tracking code that you got in the first step
    • Domain on Analytics: The domain name you created when you set up the Analytics Code (facebook.com).
    • Page Link: You can call this anything you like, but it’s how you track the individual page in Analytics
    • Page Title: This is for your reference.
  • Click “Generate Code” and the site will give you HTML for a special image
  • Go to your Facebook page and add the Static FBML application. This lets you add any code you like and you’ll use this to add the tracking image.
  • You’re done! Any visits to your page will show up on Google Analytics

Note that if you want to track different pages on your fan site, you’ll need to create a different tracking image for each page. It doesn’t matter if your fan page is for a ballet shop or urban clothing, keeping track of who’s coming and going and provide some very valuable insight as to where your customers are coming from and where we can get more.

    Related Questions

    • How do I get back the Facebook original photo viewer?
      Facebook recently changed the way it displays photos and shows them with a black background now. Is there any way I can switch it back to the old-style white background one? I've heard this questio...
    • What’s Facebook Timeline and how do I get it?
      I've heard my friends mention something called Timeline on Facebook. How do I get it? Timeline is Facebook's new way of displaying people#s profiles. It's a streamlined way of showing your photos, ...
    • How do I start using Timeline on Facebook?
      I've noticed that a friend of mine has a really cool Facebook display with a picture at the top and a timeline of events. How can I change my account to do the same? The mode you're talking about i...
Feed for this Entry | Trackback Address

No comments yet

There are no comments yet, be the first!

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>