Home > Facebook, Google Analytics, Marketing, Web Analytics > Google Analytics for Facebook

Google Analytics for Facebook

Track your Traffic on your Fan Pages!

I have just set up Google Analytics for my Facebook Fan page and it is working wonders! This is definitely something every business with a Facebook Fan Page needs to look into for enhanced statistical insights into what is actually happening on your Fan page and more importantly if all your hard work in the social media sphere is bearing any fruit!

What lies behind this is a little tool called FBGAT. FBGAT is a free and opensource tool created by Webdigi to work around Facebook’s Javascript restriction on Facebook fan pages which prevents Google Analytics from working correctly.  

The tool they created is comprised of two key parts:

1) The code generator that will help you generate a code for each individual area/page that has to be tracked on Google Analytics
2) The tracker, which instructs Google Analytics to log visits, IP address, browser,  country, etc on each page load.

But in order to get this going, we need to backtrack a bit and check if you have a Google Analytics account.. If you do not, then setup one! If you already have one, create a new website profile. You can name it facebook.com or facebook.com/your_page_name or whatever you want as long as you can identify it. Once you have set this up, you will get your hands on a tracking code which looks like this UA-3123123-2

Secondly you need to create your custom img tag for each of your pages that you would like to track. This can be for any part of your page that you would like to track such as the wall, the info section etc. Use this tool to create the Google Analytics link generator for Facebook pages, remember, you will need your Google Analytics tracking code for this!

Once you are done with that, you need to add another excellent application to your facebook page, Static FBML. This application will give you the possibility to set up things such as Google Analytics on a page that normally does not support tags or other tracking features by basically using a box on your page as a platform to where you can add HTML or FBML (Facebook Markup Language) for enhanced Page customisation.

Once you have Static FBML on your page you need to click on the FBML tab and edit it. Paste the custom img tag created earlier via the Google Analytics link generator for Facebook pages, save it and choose to place it on your “wall” for tracking your wall activities. And thats actually all there is to it! Just remember that you need to make the conscious choice of putting it on your wall rather than just keeping it on your tab.

Since Google Analytics is not real-time, you will need to give it some time to start tracking the traffic. But I promise you, you will not be disappointed!

  1. May 26, 2010 at 1:16 pm

    how many mins total to set this up Linda?

    • May 26, 2010 at 1:28 pm

      ooh.. what can I say, it took me about 10mins, but thats if you have a google analytics account already set up 🙂

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: