Home / SEM / How to Add Google Analytics For Your Facebook Fan Pages

How to Add Google Analytics For Your Facebook Fan Pages

[singlepic id=73 w=200 h=200 float=left]

You’ve got a FaceBook page that looks great and are getting lots of fans, but are you happy with the limited demographic details that facebook offers about your visitors ?

In this post I’ll show you how to track if your FaceBook page is working for your business.

How to track Keywords used to arrive at your FB Page, traffic sources and much more using Static FBML.


Step 1: Create a Google Analytics account ( in case you don’t already have one ) and create a new website profile for your facebook page. Enter the domain as facebook.com and even though you will be told that you have to activate or verify the site don’t worry about that. Once the profile is created you will get a code that looks like UA-4124123-1

Step 2: Create your custom image tag for each page. Enter the Tracking code into this Free FBGAT Tool here or download the script from here and host it on your own server (courtesy of webdigi.co.uk). In the analytics code you’ll enter the code given to you by google analytics, in the domain you’ll enter the site url used to create the tracking code ( facebook.com ) and in the page link enter the page link to identify which page the tracking is for. Once done you’ll get your custom code to be added to your FBML page.

Step 3: Add the Custom code to your Facebook page using Static FBML . I recommend adding the code to the bottom of the page so that it does not interfere with your page.

That’s all there is to it. Let the analytics pull the data and use it for your tracking purposes. Of course you could take it another step and distinguish fans and non fans visits and activity by setting up funnels, goals and segments.Webdigi has graciously shared their code for distinguishing fans and non fans activity on their FB page here .

Implement the above steps properly and you’ll see the results. In case you dont have the time to do it yourself or are just lazy :) feel free to contract it out to my team and we’ll take care of it for you. You can contact me through the Contact Page here. These steps have worked for me and my team successfully.


I hope you found this write up on How to add Google Analytics for your FaceBook Fan Pages helpful. Do share your thoughts and feedback  in the comments below.  We do reward regular commentators with do follow links.  Don’t forget to sign up for my free newsletter and follow me on twitter ( i will follow back )

About Ramit

Ramit is an Internet Marketing Expert and Data Security Analyst. His broad Online Marketing Experience in combination with a talented staff has made him a name synonymous with top rankings. He also is an Expert in Encryption and IT Management and regularly writes on the below topics * Full Disk Encryption * Search Engine Optimization ( SEO ) * Search Engine Marketing (SEM ) * Online Marketing Techniques

Check Also

3 Steps To Get Your Business Listed in Bing Local Listings

[singlepic id=40 w=240 h=240 float=left] This is the third and final post in the Series …

Leave a Reply

Your email address will not be published. Required fields are marked *