View Full Version : How can I get my Facebook likes coutn in Google Analytics & webmastertools?

03-14-2012, 01:47 PM

How can I get my Facebook likes coutn in Google Analytics & webmastertools?
www.tvonlinesurveys.com (http://www.tvonlinesurveys.com) the Facebook button is visible, but it's not count in Analytics..

At the moment i use the following code:

<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id (http://js.id/) = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1 (http://connect.facebook.net/en_US/all.js#xfbml=1)";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-like" data-send="false" data-layout="button_count" data-width="550" data-show-faces="true" data-font="arial"></div>

03-15-2012, 01:55 AM
Follow the directions precisely ...

> How To Add Facebook "Like" Button To BlueVoda (http://www.vodahost.com/vodatalk/facebook-social-media-marketing/62954-add-facebook-button-bluevoda.html)

03-18-2012, 09:12 PM

I followed the instructions of the article above. The Facebook icon is visible, everything is fine. The only problem is I would like to see the Facebook likes/counts back in my Google Analytics.

My Google plus ones are count in Google Analytics, what should I do to see my FB likes?

Do I have to add something on the following string?

<div class="fb-like" data-send="false" data-layout="button_count" data-width="450" data-show-faces="true" data-font="arial"></div>

Thx in advance!

03-19-2012, 07:04 PM
Apparently, no one has yet elected to "LIKE" your page, for if they had, the count would display on your web page, not in any HTML page coding that can be seen by you or read by Google Analytics: it is a dynamic link between Facebook and your page, one that is not "shared" by any other function -- Facebook does not "share" data with Google, thus your Facebook attributes will not 'show up' in Analytics or Webmaster Tools!