How To: Display your Google Analytics to the Public

Have you ever wanted to show off your Google Analytics data to your blog visitors? If you sell advertising on your site then this is a very handy metric for advertisers to base their buying decision on. Unfortunately, Google doesn’t make this very easy at the moment but there is a WordPress plugin called Google Analyticator which will let you do just this. It also does a lot more :

Google Analyticator easily adds Google Analytics tracking support to a WordPress-powered blog. Google Analyticator also comes with an easily customizable widget that can be used to display specific information that is gathered by Google Analytics using the Google Analytics API. It supports all of the tracking mechanisms that Google Analytics supports such as external link tracking, download tracking, tracking without counting administrative users, and any other advanced tracking the user wishes to add. Google Analyticator works with a majority of themes as long as these themes provide the proper plugin hooks.

Install the plugin

Download the Google Analyticator, then upload it to your wp-content/plugins folder via ftp. You can download a free ftp client called Filezilla for this purpose.

You can also upload the plugin directly, via your wordpress admin panel by clicking Plugins > Add New > Upload > Install Now.

You will also need to enter your ftp settings there as well, your webhost will have provided these when you signed up.

Once the plugin is uploaded, visit your plugins page and click “activate” next to the plugin. You will now see a new menu item called “Google Analytics” under the “Settings” tab, click this and we can configure the plugin.

Configuring the Plugin

The first thing to do is authenticate the plugin with your Google Analytics account, click the link which says “Click here to login to Google” and then click “Grant Access”. You will then be redirected back to the plugin page, from the dropdown next to “Google Analytics account:” choose your blog.

User Tracking

Under the “Advanced Settings” section are some options to prevent Google Analytics from recording visits from the site Admin, Editors, Authors etc. You can also choose to not record activity from any logged in users – its up to you if you wish to enable this, personally I have left it out.

Link Tracking

The next part under “Advanced Settings” is related to tracking links – you can record outbound links and downloaded files. If you wish to use this, enter a file extension to track downloads (.mp3 .zip etc).  You can also prefix outbound links and download links, the default is “outgoing” and “download”.

Other Settings

The last part of the “Advanced Settings” is boxes where you can enter your Adsense ID if you have your Analytics and Adsense accounts linked together. You can also choose who can see the dashboard widget which shows your Analytics stats, set this to admin if you dont want authors and editors to see your stats. You can also disable the dashboard widget completely if you wish.

Public Display Widget

Now that you have set up the plugin, you need to add the widget to display your stats publicly. In your admin side menu, go to “Appearance” > “Widgets” and you will see a new widget available called “Google Analytics Stats”. Drag the widget to where you would like it to appear in your theme, enter a title for it and choose your blog from the dropdown box. You can then choose how many days data to display and can customise the colors to match your blog’s theme.

Once you are happy with the text and colors etc, hit “Save” and take a look at your blog to see the finished widget:



Oliver Dale is the founder of Kooc Media, An Internet Company based in Manchester, UK. I founded WPLift and ThemeFurnace, find out more on my Personal Blog. Thanks!

Related Articles


9 thoughts on “How To: Display your Google Analytics to the Public”

  1. I was looking for a solution that would allow me to display a variety of different analytics reports/widgets. This one appears to only show total visitors over a certain date range. It would be cool if one could show the map overlay report so a local adveriser could see the number of visitors visiting the site. I do like that this plugin has the outgoing click tracking management. 

  2. Correction: Going to turn them both off neither are good enough. seethestats is in flash and all the charts link to their HP. Explainum axes are fixed for all metrics, so would need to add in a single metric for each chart, also the presentation is not so great.

    No solution found as yet, which is pretty amazing really, for something that should be pretty key.

    • Hi Brian! We at Explainum have added second Y axis for charts, so you can use two or more metrics in one chart. Should you have any questions — feel free to contact me dmitry (at) explainum (dot) com. Thanks!

  3. I want to query each post’s visitor counts ,and get the count number only,show to the public in some place of the theme ,does that possible?

Comments are closed.


Create Your Own

Building beautiful WordPress websites has never been easier. Explore the visual drag & drop Theme Builder that does it all, and works on any theme. Coding skills needed: none.