Google analytics is one of the most important tracking tools freely available for websites, portals, applications, blogs and forums. It is equally useful even for Facebook Apps as well!

Facebook App without any monitoring of your traffic, pageviews, bouncerate and other demographic information doesn’t really help to anyone to propel the growth of an application.

So, how can you add Google Analytics code into your Facebook Application and start tracking?

Well its very easy and simple 2 steps process,

 

Step 1: Create a website profile in Google Analytics.

Note that you need to create a profile for your facebook application and not for the domain on which your app is actually hosted.

So, create a profile for apps.facebook.com/YourAppName

 

Step 2: Now, add a FMBL tag provided by Facebook for Google analytics on your canvas page. Just like this,

Replace 99999 with your Google Analytics code.

That is all and you are done.

Now, wait for some time to propogate your change on Facebook since it may take some time to get stats into your Google Analytics account.

 

For further information you can take a look to,

http://wiki.developers.facebook.com/index.php/Fb:google-analytics

Hope this helps you!

 

FacebookAppCreation is an agile and one of the fastest growing Facebook Application Development Companies. FacebookAppCreation offers full curve of application development viz FB App designing, FB App Development, Facebook Application Strategy, Social Game Development and Facebook Application Monetization.

Jan 30th by admin



2 Comments

  1. What if the application is done in iframe? how do we add google analytics?

    thanks,


    admin



  2. Google analytics works in the same principal irrespective of the usage of iFrame however we have never tried analytic in iFrame based app as the iFrame based FB Application are not considered to be the best practices of the development on facebook.


    admin



Leave a Reply

Client Speak...

It was an expected, on time result of our application development on Facebook and Twitter both by Facebook App Creation. We surely recommend them for anyone looking to outsource their application development to reduce their development cost without affecting the quality of work.
Steven Petrick, USA.

Connect with Us!

Add Us on your
Facebook Profile
FBAppDeveloper
Facebook App Creation Profile
 
Get In Touch on Skype
My status
Get In Touch on Skype with Us.

Request For Quote