facebook Like button bug fb_xd_fragment IE

Couple of days ago I’ve installed the facebook like buttons on my blogs.

I noticed that the WordPress.com Stats and Google Analytics started showing lots of traffic from facebook.

Also in Google Analytics it started to show some duplicated pages with ?fb_xd_fragment parameter.

In fact this is a bug regarding to the Internet Explorer users (at least untill version 8). Even more it breaks the page is some ocasions after clicking on the “like” button.

Solutions

1) Use the iframe like button code when the user is using Internet Explorer.
2) Hide the button for the Internet Explorer users.

In both cases you can use my post on How to Detect Internet Explorer with PHP

Google Analytics

You can prevent duplicate URL from your Google Analytics stats.

Edit your account and exclude the fb_xd_fragment parameter.

Tags: ,

No comments yet, leave yours!

Leave a Reply

Add <code> Some Code </code> by using this tags.