Google Analytics Meets Facebook: How to Track Your Fans

Google Analytics Meets Facebook: How to Track Your Fans

Tracking your Facebook campaign can be tricky at the best of times. If you want use Google Analytics then your task is that little bit harder.

I had to overcome this problem recently for our Online Business Mastery courses.

The problem is Facebook doesn’t like certain kinds of Javascript. The kind that Google Analytics uses, to be precise. So we have to find a way of sending our visitor information to our Google Analytics account that doesn’t use the traditional Javascript tracking snippet.

Luckily the kind people over at WebDigi have created a nifty little way of doing it which I’ve included below.

Simply fill in the details, insert the image tag into your Facebook fan page, and you’ll start to see data for your Facebook page being tracked inside your Analytics account!

  • Posted at 6:27 pm, August 29, 2012

    mmm … so you pass “my fan activity” to a third domain .. ehm … your domain actually .

    It seems to me that this violate a “couple” of European law concerning user privacy.

    But nice try afterall 🙂

    • Posted at 10:38 am, August 30, 2012

      Hi Fabio

      I set this up for our own facebook campaigns, and for ease of use I included our hosted version.

      The source code is available for free at WebDigi, if you want to host your own version then go for it!

Post a Comment