WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» How to Get Facebook Insights for Your WordPress Site

How to Get Facebook Insights for Your WordPress Site

Last updated on April 22nd, 2015 by Editorial Staff
100 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Get Facebook Insights for Your WordPress Site

More than 10,000 new websites integrate with Facebook every day by using one of their social plugins. However most sites that we see are not taking full advantage of what facebook has to offer. Were you aware of the fact that you can get facebook insights for your WordPress site? These insights include data such as your most popular pages for the like button, send button, organic shares, comment box etc. It also includes information like who is your demographic audience on facebook, their age, gender, country etc. If you were not, then don’t be surprised because you are not alone. We checked some of the industry leaders’ websites including Chris Brogan, Brian Clark, Darren Rowse, John Chow, and Jeremy Schoemaker (aka Shoemoney) and none of their sites were taking advantage of Facebook insights either. In this article, we will show you how to get facebook insights for your WordPress site, so you can take full advantage of what facebook has to offer.

First you need to install and activate the WordPress SEO plugin. It is one of the most downloaded WordPress plugins. Chances are that you already have it installed, but if you don’t then we have detailed instructions on how to install and setup WordPress SEO plugin.

After you have setup the plugin correctly, your site is now ready for Facebook. You need to simply visit SEO » Social page and click on the Facebook tab.

Facebook Insights Admin

Now you need to click on ‘Add Facebook Admin’ button. This will take you to the Facebook website. If you are not signed in, then you need to sign in with the Facebook account that you want to add as admin. After that you will be redirected back to your WordPress site, where you will see the username added as the admin.

Facebook insights admin user added to WordPress SEO

Next thing you need to do is make sure that you are using the CORRECT version of the facebook like button. Many sites just utilize the iframe version of the facebook like button. While that works, it will not let you get facebook insights. You need to use the XFBML method shown in this post.

Last step that you need to do is claim your site on Facebook. You need to visit the Facebook Insights Page. Under your pages, look for the Add Domain button.

Adding your domain to Facebook Insights

When you click on that green button, a lightbox will appear like the image below. Enter your domain name and make sure you link it with “YOU”.

Facebook Insights for your Site Setup

Now when you visit the facebook insights page, you will see your website listed under Websites.

Facebook Insights for Websites

Once you click on your site, you will be able to access all sort of insights. An example image is below:

Facebook Insights Screenshot

There you have it. Now you can easily get Facebook insights for your WordPress site. For more detailed instructions, you may also want to check our tutorial on how to add Facebook open graph meta data in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

100 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Google Analytics in WordPress

    How to Install Google Analytics in WordPress for Beginners

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

28 Comments

Leave a Reply
  1. suankit says:
    Jul 30, 2017 at 1:02 pm

    how can i post my wordpress blog article in facebook

    Reply
  2. Yazeed Zghoul says:
    Feb 24, 2017 at 6:29 am

    So where on the All in One SEO Pack Plugin can I use Facebook insight the same way explained here with Yoast plugin?

    Reply
  3. Yazeed Zghoul says:
    Feb 11, 2017 at 12:54 pm

    Hi, this is great but the question is can I use All in one SEO plugin and WordPress SEO plugin at the same time without having some overlapping and potential errors? please advice.

    Reply
    • WPBeginner Support says:
      Feb 12, 2017 at 4:09 pm

      No, you cannot. They would overlap and this may result in unexpected behavior that could adversely affect your site’s SEO.

      Reply
  4. Mary Jo Doig says:
    Aug 15, 2016 at 11:35 am

    I so hopeful you might be able to help me with a huge problem I created two days ago. I posted my blog story on FB, then noticed I’d omitted the photo, deleted it so I could redo the post. In deleting, every one of my 75 word press blog posts are now gone, resulting also in the loss of all those statistics on wordpress. Is there any way you know of that I could restore that vital info

    I would be profoundly grateful for your assistance. Thank you for your attention to this.

    Mary Jo Doig

    Reply
    • WPBeginner Support says:
      Aug 15, 2016 at 12:03 pm

      When you delete posts from WordPress, they remain in Trash for next 30 days before they are permanently deleted. Look for your deleted posts in the trash by clicking on Posts and then clicking on Trash link.

      Reply
  5. Tari says:
    Mar 12, 2014 at 9:24 am

    Well, poo. The plugin has a big banner that says it hasn’t been updated in the last two versions of WordPress. That’s a non-starter for me. Sure sounds cool though. I’d look forward to trying an updated version.

    Reply
  6. Godwin says:
    Mar 8, 2014 at 9:11 pm

    Thanks for the detailed step-by-step guide, however, I having some issues installing Facebook Insights for my site. I followed everything detailed in the posts as well as the extra explanations in the comments, and when I click on the “Get Insights” link; this is what I get:

    “Bad Request
    No admin data found at root webpage http://mysite/. Insights requires admin data at this root webpage for the specified URL transtudentworld.com”

    However the I have correctly paste the meta tag in my header.php file just two line below the tag, so I don’t know why Facebook can’t find it. I also did the XFMBL Method and have also installed the Facebook Open Graph plugin.

    Please help me out! I don’t know what else to do. Thanks in anticipation

    Reply
  7. Emmeline Jane says:
    Nov 26, 2013 at 3:50 am

    Hi!

    I’ve followed all of your steps correctly but when I try to link the website through the green ‘insights for your website’ link it comes up with this:

    Bad Request
    No admin data found at root webpage Insights requires admin data at this root webpage for the specified URL

    I don’t know how to fix it! I’ve put in my own personal FB id and followed the step correctly, I don’t know what I’m doing wrong. Any ideas/tips???

    Reply
    • WPBeginner Support says:
      Nov 26, 2013 at 5:12 am

      Facebook is unable to find fb:admin meta tag on your site. Generate a meta tag for your website by clicking on the green button insights for your website. Enter your domain name and your user profile. Facebook will generate a meta tag for you which you can paste in your theme’s header.php file

      Reply
  8. Imad Daou says:
    Oct 11, 2013 at 12:56 pm

    Dear Syed,

    What would be the difference between this insight and the insight that comes with Facebook Recommendation Bar? I have followed the facebook recommendation bar post and I got already an insight through this plugin which points to the app that I have created in Facebook. Is this another insight for the home page specifically or can I skip it if I already have it through Facebook recommendation bar?

    By the way, I tried to add my website to the insight through the insight link you provided and after I have installed the Facebook Open Graph Meta Data plugin; I got this error from facebook insight:

    No admin data found at root webpage http://ccnahub.com/. Insights requires admin data at this root webpage for the specified URL ccnahub.com

    Please let me know what should I do.

    Thank You!

    Reply
  9. Frank says:
    Apr 10, 2013 at 3:50 pm

    In IOS the black bar that lives on the bottom of your web page is in the middle of the text and obscures your content. Thought you should know.

    Reply
  10. Carl Lyons says:
    Sep 27, 2012 at 11:04 pm

    Thanks I needed that!

    Reply
  11. Sarrah says:
    Jul 4, 2012 at 7:55 pm

    Hi Syed, i have some interesting posts from my FB page that I’d like to repost on my WP site. Is there a way to do that other than doing screen capture?

    Reply
    • Editorial Staff says:
      Jul 5, 2012 at 9:14 am

      I think the screen capture is the only way that I know of.

      Reply
      • Sarrah says:
        Jul 5, 2012 at 11:35 am

        Ok. So I did screen captures but have to break up the post into a few parts. But when I insert the few images, there is a line break gap between the images. How do I get rid of that gap to make the images look like one big continuous piece? Sorry to hijack this thread. Thanks!

        Reply
        • Editorial Staff says:
          Jul 5, 2012 at 12:22 pm

          Instead of inserting the images in a separate line. Remove all line spaces so that there is not a single space between the image codes. That should help. For future please use the contact form for “off-topic” questions.

  12. Tomas says:
    Jun 16, 2012 at 3:53 am

    Hi guys I realise a mistake in my last comment. I initially used the UID for http://graph.facebook.com/relensi which is 302475996501071. But when I got the invalid message, I tried to use the UID for my personal fb account which is 100000147197456.

    I just set up the page for a project I just started and I hope anyone here can help me out.

    Thanks in advance.

    Reply
  13. Tomas says:
    Jun 15, 2012 at 6:48 am

    Hi Syed, I read this post earlier. However, After creating the facebook page for my business, I read a notification on facebook that I could view insights once the page gets 30 likes. So I’d like to ask if it was still necessary to install the Facebook Open Graph Meta Data plugin. Are there any other benefits from installing the plugin?

    Thanks in advance.

    Reply
    • Editorial Staff says:
      Jun 15, 2012 at 8:55 am

      The facebook insights you get for that page is for your FB page only. The insights we are talking about here is for the facebook activity on your website. i.e like button etc.

      Reply
      • Tomas says:
        Jun 15, 2012 at 4:20 pm

        Thanks a lot. Keep up with the good works.
        Best regards.

        Reply
  14. bizzyLabs says:
    Aug 7, 2011 at 1:16 pm

    @wpbeginner 99% chance that his themes function.php file does not include the line add_theme_support( ‘post-thumbnails’ );

    I’ve ran into that error in the past and its been fixed by adding post-thumbnail support.

    Reply
  15. josephvb10 says:
    Aug 3, 2011 at 3:40 pm

    Hey thanks for the info

    Reply
  16. goteq says:
    Jul 29, 2011 at 12:41 pm

    This is a great plugin, I suppose its time someone writes a plugin to get open graph type technology for the Google+ shenanigans?

    Reply
  17. wpbeginner says:
    Jul 29, 2011 at 8:04 am

    @EricMcKenzie Your account ID is the admin ID. Does your theme have built-in support for post-thumbnails also known as featured image?

    Reply
  18. EricMcKenzie says:
    Jul 28, 2011 at 9:59 pm

    @wpbeginner I am using WP ver 3.0. The WP Settings panel only asks for 3 things. My Facebook account ID, My Site Name and default Image URL. Where am I supposed to enter my admin ID?

    Reply
  19. wpbeginner says:
    Jul 28, 2011 at 9:50 pm

    @EricMcKenzie That’s weird. Line 37 is simply calling for the post thumbnail feature which was added in WordPress 2.9. This is why the plugin requires you to use at least WordPress 3.0 assuming that your theme would be utilizing that feature.

    You need to specify your admin ID in the WP Settings Panel for this plugin.

    Reply
  20. EricMcKenzie says:
    Jul 28, 2011 at 9:44 pm

    This looks great, but when I tried it I got this message popping up where my blog should be “CloseOpenFatal error: Call to undefined function get_post_thumbnail_id() in /home/ericmckenzie/canadianaidforchernobyl.com/home/wp-content/plugins/fbogmeta.php on line 37”. Also in Facebook Insights I get the message “Bad Request. No admin data found.” What am I missing?

    Thanks,

    Eric

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
MonsterInsights
MonsterInsights
Google Analytics made easy for WordPress. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2020 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2020)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2020)
    • SiteGround Reviews from 4196 Users & Our Experts (2020)
    • Bluehost Review from Real Users + Performance Stats (2020)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2020 – Step by Step Guide
Deals & Coupons (view all)
LiveChat logo
LiveChat Inc Coupon
Get a 30 day free trial and 30% OFF LiveChat, one of the best live chat service providers for WordPress users.
ConvertKit Coupon Code
ConvertKit Coupon
Get a 14-day no risk FREE trial with this powerful email marketing software.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).
Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress CDN by MaxCDN | WordPress Security by Sucuri.