WordPress.com Stats plugin query (5 posts)

  1. Boz2006
    Posted 9 years ago #

    I've uploaded this plugin. I have two queries.

    1) In the ReadMe is the following advice:

    '....your theme must have a call to <?php wp_footer(); ?> at the very bottom right before the </body> tag'

    Dumb question I know, but in which of the 13 files of my theme do I go to the 'bottom right'?

    2) The ReadMe also has the following sentence:

    'The plugin collects stats via a javascript call, so as long as the JS call is on the page stats will be collected just fine'

    How do I know whether 'the JS call is on'?

    Apologies for these basic questions.

  2. whooami
    Posted 9 years ago #



    at the bottom, right before...


    at the bottom right ...


    you know because it adds it in the footer, thats why #1 is necessary.

  3. Boz2006
    Posted 9 years ago #

    whooami, thanks

    In (1) which of the theme files am I looking for?

    Page Template?

    Apologies - this shows the state of my knowledge.

  4. MrGunn
    Posted 9 years ago #

    I think it's main_index_template or something similar.

  5. KnowingArt_com
    Posted 9 years ago #

    Any theme you use should have all the footer tags in place already. You should be fine. Basically, all your pages call the footer, so if you ever needed to add something to the bottom of all your pages, like a stats counter or a copyright symbol, all you need to do is edit footer.php :-)

    I'm going to assume the plugin makes the necessary footer change for you--no worries. Plugins can hook themselves into the various functions of your blog, in this case the footer function.

    Also, knowing the tracking is in the footer is useful to know. You're tracking visitors that allowed the full page to load.

Topic Closed

This topic has been closed to new replies.

About this Topic