Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Add YouTube Analytics to Your WordPress Dashboard

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

YouTube provides analytics to measure the performance of your YouTube channel. Wouldn’t it be nice if you could get those analytics for your channel right inside WordPress? In this article, we will show you how to add YouTube analytics to your WordPress dashboard.

First thing you need to do is install and activate the YouTube Analytics Dashboard plugin. Upon activation, simply go to WordPress Dashboard and scroll down to see a new YouTube Analytics Dashboard widget.

YouTube Analytics Dashboard Widget

You will need to give plugin the permission to access your YouTube account. To do that, you need to click on the Get Access Code link in the widget. It will take you to your Google Account, and you will be asked to give permissions.

Giving YouTube Analytics permission to access your account data

Simply click on the accept button, and you will see your access code.

Access code for YouTube Analytics

Now you need to copy and paste this code in your YouTube analytics dashboard widget and press the save access code button. The plugin will now get your YouTube analytics data, and you will see your stats in widget like this:

YouTube Analytics stats displayed in WordPress dashboard

To configure the plugin settings you need to visit Settings » YouTube Analytics.

YouTube Analytics Settings

The first option in the plugin settings is to use your own API Project credentials. Below that there are two buttons to clear authorization and to clear cache.

Clear authorization will remove the YouTube access code you added earlier and cleaning the cache will remove the data the plugin downloaded earlier.

The next option is to choose the user roles allowed to see the YouTube stats. The default option is administrators however you can change that if you need to share your channel’s analytics with other users on your site.

For stats like engagement and annotations performance, you need to check the box under additional stats.

The plugin also allows you to choose a CSS theme for the stats widget and time duration for the cache.

Once you are done customizing, click on the save changes button to store your settings.

That’s all, we hope this article helped you add YouTube analytics to your WordPress dashboard. You may also want to check out these useful YouTube tips to spice up your WordPress site with videos.

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

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

7 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

    • WPBeginner Support says

      It would depend on the error, the most common reason would be you didn’t copy the entire code correctly


  2. Rich says

    This is a good function to have but there is no rhyme or reason to how the graph sorts. It’s not by date or by number of views. I contacted the developer and he tells me a fix is in the works.

  3. Don says

    What I would find VERY useful is a program that would automatically notify FB friends AND an e-mail lists of new posts and pages to my site….Are there are any currently like that? Without adding two or three new plug-ins? Is it possible to achieve this with currently available FREE plug-ins?

    I would think that if both this functions were combined in the same plug-in, it would be a VERY useful, especially if you could also send notifications to other types of social media like Twitter, LinkedIn, Pinterest…..automatically with each new post…


Leave A 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.