Google Analytics Dashboard for WordPress

Google Analytics Dashboard for WP is a featured plugin that will display Google Analytics statistics on your website backend. Analytics data, like number of visits, provided through Google API, is integrated into a simple widget on your WordPress Administration Dashboard.

Note: If you don’t have a Google Analytics account you should create one before proceeding. Follow this video tutorial first: How to Set Up Google Analytics on Your Website.

To access the analytics data, the plugin will need your authorization. The following video will guide you through the authorization process and will show you some basic features and how this plugin works.

You can also use your own Google Analytics API Project to authorize the plugin. This is suitable for web developers, for websites generating a big amount of API requests or for webmasters managing multiple websites. To use your own API Project, select use your own API Project credentials in Google Analytics -> General Settings.

Google Analytics – General Settings

In order to allow this plugin to retrieve your analytics data from your Google Analytics account, you need to go through a simple authorization process. To authorize the plugin go to Google Analytics -> General Settings and press the button called Authorize Plugin. You will have to generate and save an access code. To generate the access code, press the link called Get Access Code, a new window will pop-up asking you to allow specific data from your Google Analytics account to be used by Google Analytics Dashboard for WordPress. After agreement, an access code will be provided by Google API. Copy the code, paste it in the field called Access Code and save it by pressing the Save Access Code button (for a short demo follow the video tutorial from above).

After completing the authorization process, the page reloads and a set of new options will be available. At this point, you can select your default/current domain from a domain list. If you have multiple Properties defined in the same Google Analytics account, the plugin will retrieve all your properties and you’ll be able to select a default one.

After selecting a default Property you can opt to remove/hide all other Properties using the Hide Now button. This feature is useful when you are authorizing the plugin using a Google Analytics account with multiple Properties defined and you don’t want other Admins to be able to see them.

Using the Theme Color option, you can pick a favorite color. This color and some variations will be used to render the aria chart, the geo map chart and the pie chart. This option will also affect the color of your frontend widget.

Debugging Data will give you some details about plugin’s configuration and will show you the last error. Last Error is set to N/A when no serious error was detected.

Ok, you’ve completed the authorization process and selected a default color for your theme, now it’s time to make some additional settings like Backend, Frontend and Tracking Settings. To access the plugin’s options, select Google Analytics from your main menu.

Google Analytics – Backend Settings

You may want to share your analytics data and your success with a team, your employees or your friends. The Show stats to option handles this kind of needs, allowing you to share your reports with other administrators, contributors, editors or authors. If you choose to share your data with your editors, you’ll have to select Editor role for Show stats to option. Similar access levels and roles can also be set for Frontend features.

If you have multiple Properties in the same Google Account, but you want to share reports regarding a single Property, you will need to check the disable Switch Profile/View functionality option. If you don’t use this check box, authorized users will be able to switch between Properties using the domain list selector from their Google Analytics Dashboard.

The Real Time settings will allow you to display real-time stats in your Administration Dashboard. To find more about the Real Time Feature read this post: Google Analytics Dashboard for WP – Real-Time Reports. You can limit the number of pages displayed on Real Time Dashboard by setting a suitable value for the option called: maximum number of pages to display on real-time tab.

If you need more info about your visitors and how your website performs, using the options from Additional Stats and Charts section, you can choose to display additional charts and tables regarding traffic sources, pages, searches, referrers and even visits by country.

If you have a local website or business you can target the Geo Map to a region and display visitors by city instead of visitors by country, you can read more about this feature here: Country codes for Google Anlytics Dashboard.

Google Analytics – FrontEnd Settings

If you use this option, you will see some stats about how your articles/posts are performing, on frontend, at the end of each article. You can display Views vs. Unique Views and Top Searches for each article/post. These stats and reports are only available for the user roles selected in the Show stats to option.

A sidebar widget is also available, you can enable it from Appearance -> Widgets. This is a public widget that will display your stats in your website, to all users, as a regular widget does.

Google Analytics – Tracking Code

Disabled means you are disabling the tracking option only (google analytics tracking code will not be automatically inserted in all your pages). If you already have the tracking code inserted on your template or you are using a third-party plugin, you can leave this option set to Disabled.

Enabled is what most of you will use. When Enabled is selected in your Tracking Options the plugin will automatically generate the tracking code, which will be inserted in all your website’s pages.

Don’t worry about your UA code, once you’ve selected the default domain in Google Analytics -> General Settings, the corresponding UA-YYYYY-YY code is automatically retrieved from your Google Analytics account and the tracking code is automatically generated and inserted in all your pages!

Recently Google has launched a new tracking method called Universal Analytics, depending on the choice you’ve made during Web Property setup, select Universal Analytics or Classic Analytics for Tracking Type option.

Custom Code allows you to enter and use your own code. It can be used to add a custom tracking code in all your pages. This option is suitable when you need to use Remarketing with Google Analytics or Google Display Network (GDN) Impression Reporting.

You can also anonymize IPs and/or track downloads, mails and outbound links. The plugin uses an extension list to properly distinguish files from regular links. You can use the Download Filter to add additional file extensions.

If you need to exclude tracking for certain logged in users you ca use the Exclude Tracking options. Selected roles will be automatically excluded from tracking.

Google Analytics Dashboard – Widgets

Using this widget, you can display your analytics stats to general public. To enable the widget go to Appeareance -> Widgets and drag the Google Analytics Dashboard widget into a sidebar/footer. You can choose between Last 7 Days, Last 14 Days and Last 30 Days stats and you can also choose to anonymize stats. By anonymizing data, you can display your website’s trends while keeping the actual data private.

Don’t forget to use the Update Options button to save your options, each time you make some changes on plugin’s configuration!

Google Analytics Dashboard for WordPress

Review this plugin Plugin Download Plugin Support

You can now submit bugs and pull requests directly on GitHub: Google Analytics Dashboard on GitHub.

To find more details on how this extension works and how your data is used, read Data Usage Policy for my Extensions.

Replies

  1. Zuki says

    Hi,

    One nice filter it will be 2 weeks, because in one month the traffic could change a lot, a you can’t see the last changes.

    One problem i detect is that after installing dashboard, the home page of admin become very slow :(
    probably reducing the traffic to 2 weeks it will speed up

    Thanks for the good plugin :)

  2. Adrian says

    Is there a way to change the colors of the chart? and completely customize it (remove the white background of the chart, and change the colors of the lines, remove some labels etc.)

    Thanks
    A.

  3. Heather says

    Following the first video tutorial. I got to the point where I copy and pasted the code and clicked save code. Now my dashboard won’t refresh. aahhh!!!

  4. says

    Hi, do I still have to add analytic code to my theme template? Does this plugin add the code for me? Does this plugin also create analytics accounts for my sub domains or do I still have to do that manually in Google analytics myself?

    • Alin Marcu says

      1. No, you don’t. But you have to properly configure the tracking options on Settings -> GA Dashboard.
      2. Yes it does
      3. No, you will have to manually create them in your Google Analytics account.

  5. says

    Ahhh… Very good. Thank you. I will remove the code from my theme template.

    One more question. How about WPTouch? Do I still have to add my analytics code to the WPTouch plugin? (WPTouch is a mobile phone browser plugin).

  6. Melissa Vincent says

    Is there a way to see more specific locations other than by country? I’d like to see states/cities.

  7. LaTigerr says

    Quick question, I am quite confused on the way the amount of traffic is calculated. For instance, it’ll show that one particular post has 20 views, but on my dashboard it says that I’ve only had 3 visits and/or visitors. I wondered, does it count me as a visitor even though I am the website admin? This plugin is greatly appreciated and very useful. Thanks.

    • Alin Marcu says

      The number of views and the number of visits are different things. You can exclude admins using Exclude tracking for: from Settings -> GA Dashboard.

  8. Contact says

    Hi
    perfect with WP 3.8 multisite it s running perfectly
    is it possible to use shortcode or code to display the dashboard graphs on a wp page ?
    thx

  9. cara says

    is it possible to view analytics for longer than the past 90 days? How can I get that information?

  10. says

    hey there,
    Is it possible to block others sites from being selected in the dropdown menu? I have various accounts on google analytics and it gives the choice to my client to view all of them.

    thanx

  11. Robert says

    Hi.
    I’ve activated the function “in-page-analytics” in my Google Analytics account. Do I have to change the tracking code by my self or does the plugin download the new/changed code by it self?
    And If I have to change the tracking code, how can I do this?

    Thank you.

  12. says

    This is one great plug-in! I’m installing it on all my sites. However, for those of us with 100s of GA sites, can you add a field so we can type in the site url to use instead of hunting through a super long scroll box?

    • Alin Marcu says

      Click on list and start typing, it will jump to desired website, at least in Chrome it works.