Title: Plugin WordPress.com Stats API Key
Last modified: August 19, 2016

---

# Plugin WordPress.com Stats API Key

 *  [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/)
 * hai.. i’m new user for wp.org.
 * i just install _WordPress.com Stats_.i need your help on how to get the API Key
   in order to make sure the plug in function.
 * i setup wp.org using fantastico from hostgator. i don’t have wp.com account, 
   so i can’t get the API key for WordPress.com
 * regards
    nik

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/page/2/?output_format=md)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677311)
 * Follow this guide:
 * [http://en.support.wordpress.com/api-keys/](http://en.support.wordpress.com/api-keys/)
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677421)
 * Tq james for the info..
 * **Question 1:**
    do u mean i need to setup new wp.com account using the same 
   user name & pass which i use for wp.org?
 * after setup wp.com, i will receive the email with API Key. after that apply that
   key for Plugin WordPress.com Stats.
 * **Question 2:**
    is it Akismet API Key = WordPress.com Stats API Key ???
 * tq
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677440)
 * > do u mean i need to setup new wp.com account using the same user name & pass
   > which i use for wp.org?
 * Yes, you do need to set up a wordpress.com account, but you don’t need to use
   the same username and password if you don’t want to.
 * > after setup wp.com, i will receive the email with API Key. after that apply
   > that key for Plugin WordPress.com Stats.
 * Follow the guide that I linked to and find your API key, then apply it to the
   plugin.
 * > is it Akismet API Key = WordPress.com Stats API Key
 * Yes. Technically, it’s a WordPress.com API key, which can be used for both Akismet
   and WordPress.com Stats.
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677460)
 * James..tq
    i will sent the result. i will use Akismet API Key = WordPress.com
   Stats API Key
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677782)
 * hai i update here for my problem
 * i already register with wordpress.com i.e [http://mathslabfx.wordpress.com/](http://mathslabfx.wordpress.com/)
   and already have the API KEY…but when i key in the API KEY to my blog…the following
   error come out
 * The API key “xxxxxxxxxxxx” belongs to the WordPress.com account “mathslabfx”.
   If you want to use a different account, please enter the correct API key.
 * Note: the API key you use determines who will be registered as the “owner” of
   this blog in the WordPress.com database. Please choose your key accordingly. 
   Do not use a temporary key.
    Add blog to WordPress.com account
 * This blog will be added to your WordPress.com account. You will be able to allow
   other WordPress.com users to see your stats if you like.
 * help me.. i love this plug in very much…it function nicely in wp.com.
 * tq
 * need guide
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677798)
 * below is the reply from wp.com when i sent my problem above…
 * The Stats plugin won’t work unless the JavaScript is showing and firing in your
   footer. It should look something like this:
 * <script src=”[http://stats.wordpress.com/e-201038.js&#8221](http://stats.wordpress.com/e-201038.js&#8221);
   type=”text/javascript”></script>
 * I don’t see it in your site’s footer.
 * —————————————-
 * so where should i put the following code
 * <script src=”[http://stats.wordpress.com/e-201038.js&#8221](http://stats.wordpress.com/e-201038.js&#8221);
   type=”text/javascript”></script>
 * in the footer php
 * tq
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677799)
 * Go to Appearance/Editor in your admin panel and add it before the `</html>` tag.
 * Also, did you click the “Add blog to WordPress.com account” link to finish setting
   up the plugin?
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677800)
 * Tq James….
 * but sorry i a new user..below the step i have done:
 * (a) get the API KEY from wp.com as per your instruction before.
    i have signup
   for a new account (just an account – not a blog) on wordpress.com to get a new
   API key.
 * **Result:**
    Currently WordPress.com Stats show ‘Active’ but it WordPress.com
   Stats not function in dashboard.
 * Q2:
    where should i get **click the “Add blog to WordPress.com account” link 
   to finish setting up the plugin?**
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677801)
 * [@james](https://wordpress.org/support/users/james/)..
 * i found what u mean by **Add blog to WordPress.com account** but the following
   error have…but the plug in is active without showing anything in plug dashboard.
   Below is the error
 * WordPress.com Stats
    Error from last API Key attempt:
 * The owner of that API Key (**xxxxxxxx**) is not on the access list for this blog(**
   abcdefgh**). To be added to the access list, you must contact support.
 * The API key “**aaaaaaaaaa**” belongs to the WordPress.com account “**fffffffff**“.
   If you want to use a different account, please enter the correct API key.
 * Note: the API key you use determines who will be registered as the “owner” of
   this blog in the WordPress.com database. Please choose your key accordingly. 
   Do not use a temporary key.
 * Also i have done the following code
 * <script src=”[http://stats.wordpress.com/e-201038.js&#8221](http://stats.wordpress.com/e-201038.js&#8221);
   type=”text/javascript”></script>
 * in the footer php
 * is it correct what i have done as below in my footer.php ( i show part of it)
   
   <?php /* Always have wp_footer() just before the closing </body> * tag of your
   theme, or you will break many plugins, which * generally use this hook to reference
   JavaScript files. */
 *  wp_footer();
    ?> </body> **<script src=”[http://stats.wordpress.com/e-201038.js&#8221](http://stats.wordpress.com/e-201038.js&#8221);
   type=”text/javascript”></script>** </html>
 * for your info my theme is Twenty Ten
 * tq for your guide
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677802)
 * The error that you quoted is the same as the one from before. Was there not a“
   Add blog to WordPress.com account” link below it this time?
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677803)
 * it have and i have press it and the error is same like previous post error.
 * **Q1**
    is it correct what i have done as below in my footer.php ( i show part
   of it) <?php /* Always have wp_footer() just before the closing </body> * tag
   of your theme, or you will break many plugins, which * generally use this hook
   to reference JavaScript files. */
 * wp_footer();
    ?> </body> **<script src=”[http://stats.wordpress.com/e-201038.js&#8221](http://stats.wordpress.com/e-201038.js&#8221);
   type=”text/javascript”></script>** </html>
 * tq for your quick reply
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677805)
 * Yes, is it still not working?
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677806)
 * tq james for comingback and ans my question
 * yes..still not working…
 * what should i do ??
 *  [Naoko Takano](https://wordpress.org/support/users/nao/)
 * (@nao)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677835)
 * [@niktabah](https://wordpress.org/support/users/niktabah/)
 * There were some changes made on the plugin recently. Try upgrading the plugin
   to the latest version, then disable & enable it.
 * What is the error message you’re seeing after doing that?
 *  Thread Starter [niktabah](https://wordpress.org/support/users/niktabah/)
 * (@niktabah)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/#post-1677836)
 * [@naoko](https://wordpress.org/support/users/naoko/)…
 * after uninstall and install new oen the pronlem still same as before

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/page/2/?output_format=md)

The topic ‘Plugin WordPress.com Stats API Key’ is closed to new replies.

## Tags

 * [api key](https://wordpress.org/support/topic-tag/api-key/)

 * 16 replies
 * 4 participants
 * Last reply from: [isaiahworkbench](https://wordpress.org/support/users/isaiahworkbench/)
 * Last activity: [14 years, 12 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-api-key-1/page/2/#post-1677871)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
