The MU forums have moved to

statcounter - wp_footer, admin_footer not working (1 post)

  1. bschwarting
    Posted 14 years ago #

    The wordpress plugin currently doesn't track any pageloads when in the wordpress dashboard. I've added this to the plugin and it seems to work for the main domain, but not any sub-domains.

    add_action('admin_footer', 'add_statcounter');

    The way I understand it, a sub-domain,, still loads the same admin footer as does, correct?

    So if the plugin is doing both:
    add_action('wp_footer', 'add_statcounter');
    add_action('admin_footer', 'add_statcounter');

    Anywhere you go on the site should be going back to statcounter, correct?

    Nothing in the or (user dashboard) works correctly. Ideas as to why it's not going back?

    Plugin URL is:

About this Topic

  • Started 14 years ago by bschwarting