Support » Plugins » Plugin WordPress.com Stats API Key

  • 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)
  • Moderator James Huff

    (@macmanx)

    Follow this guide:

    API Keys

    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

    (@macmanx)

    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.

    James..tq
    i will sent the result. i will use
    Akismet API Key = WordPress.com Stats API Key

    hai i update here for my problem

    i already register with wordpress.com i.e 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

    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” 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” type=”text/javascript”></script>

    in the footer php

    tq

    Moderator James Huff

    (@macmanx)

    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?

    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?

    @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” 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” type=”text/javascript”></script>
    </html>

    for your info my theme is Twenty Ten

    tq for your guide

    Moderator James Huff

    (@macmanx)

    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?

    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” type=”text/javascript”></script>
    </html>

    tq for your quick reply

    Moderator James Huff

    (@macmanx)

    Yes, is it still not working?

    tq james for comingback and ans my question

    yes..still not working…

    what should i do ??

    Naoko Takano

    (@nao)

    Happiness Engineer at Automattic

    @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?

    @naoko

    after uninstall and install new oen the pronlem still same as before

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Plugin WordPress.com Stats API Key’ is closed to new replies.