So here it is, it still doesn’t do much, but if you use AWStats and WordPress, you may find my first WordPress plugin handy… And it does a bit more than it used to!

AWStats Xtended Info inserts the awstats_misc_tracker.js into each page WordPress serves, allowing you to track additional items including screen size, Flash, PDF, and Java support among other things.

For finer control you can select which types of pages will include the script from the AWStats X options page.

Requirements
  • AWStats 6 or greater
  • WordPress 1.5 or greater (compatible with 2.0 and 2.1)
Installation

Upgrading from a version prior to 2.1b r004:

  • Delete the existing “wp-awstats-ext” directory before uploading 2.1b r004 or above.
  • Change:
    MiscTrackerUrl=”/wp-content/plugins/wp-awstats-ext/js/awstats_misc_tracker.js”
    in your AWStats configuration file to:
    MiscTrackerUrl=”/wp-content/plugins/wp-awstats-x/js/awstats_misc_tracker.js”
  • Activate the AWStats Xtended Info plugin from the WordPress Manage Plugins admin panel.

First-time Installation:

  1. Unzip and upload wp-awstats-ext directory into your WordPress plugins directory (/wp-content/plugins).
  2. In your site’s AWStats configuartion file set the following options:
    • MiscTrackerUrl=”/wp-content/plugins/wp-awstats-x/js/awstats_misc_tracker.js”
    • ShowScreenSizeStats=1
    • ShowMiscStats=anjdfrqwp
  3. Activate the AWStats Xtended Info plugin from the WordPress Manage Plugins admin panel.
  4. Navigate to Options > AWStats X and select the pages the script should be added to. Update Options.
Version History/Change Log

2.1b r005 :: April 5, 2007
- BUG FIX - Forgot to change the path in the ‘js/awstats_misc_tracker.js’ file to… Good catch, and much thanks to Dave, Dominique Stender, and GreyDuck.

2.1b r004 :: March 31, 2007
BUG FIX – Seems to work better on post pages and static pages if you use the full url rather than the relative url. Duh.

2.1b r003 :: March 16, 2007
BUG FIX – I broke the link to the script on either r001 or r002. Didn’t notice it until now… But hey, problem solved.
BUG FIX – Script is now inserted on all pages by default.

2.1b r002 :: February 25, 2007
FEATURE – Added Version Checking
FIX – Updated all links to new AWStats X dedicated page at Tossed Salad

2.1b r001 :: February 24, 2007
FEATURE – Added Options Page Subpanel “AWStats X”
FEATURE – User can select pages to load the AWStats Extended script
MINOR – Checked WP 2.1 Compatibility

2.0.2b :: April 26, 2005
Public beta. Changed version number to reflect WP compatibility.

Known Issues

NO KNOWN ISSUES

Download
WP AWStats Xtended | version 2.1b r005
Released: April 5, 2007
Support

If you have any troubles, feel free to e-mail me using the Contact link in the menu bar or by posting comments here. Good luck and enjoy.

22 Responses to “AWStats Xtended Info Plug-in”


  1. 1 Lance

    I have my site hosted at Hosting Matters and Awstats comes with the service. Therefore I don’t have an awstats file in my files. It is all at the server. Still applicable?

  2. 2 Dave

    Just tried this out… works as expected except that the second request still looks to be pulling a 404:

    /wp-content/plugins/wp-awstats-ext/js/awstats_misc_tracker.js?

    Needed to update the referenced .js script file to:

    var awstatsmisctrackerurl=”/wp-content/plugins/wp-awstats-x/js/awstats_misc_tracker.js”;

  3. 3 Dominique Stender

    The .js file you supply with 2.1b r004 still uses the wp-awstats-ext path as variable not wp-awstats-x. Shows up nicely in awstats as HTTP 404 error ;)

    Other than that, good work!

  4. 4 GreyDuck

    It’s not working for me at the moment, and I think I know why:

    var awstatsmisctrackerurl=”/wp-content/plugins/wp-awstats-ext/js/awstats_misc_tracker.js”;

    …which isn’t the correct path, is it? That’d be why I’m seeing the Apache log entry which actually contains the info AWstats seeks coming in as a 404, correct?

    I’m going to try adjusting that to /yadda/wp-awstats-x/js/yaddayadda and see what happens.

  5. 5 Michael Gerard

    Y’all are absolutely right… Forgot about that one! Great catch, and thanks, I’ve updated the plug-in, but if you already changed it you’re good.

  1. 1 Wordpress AWStats Xtended info plug-in v2.1
  2. 2 links for 2007-02-26 at Just another geek
  3. 3 ..
  4. 4 ..
  5. 5 Weblog Tools Collection » Blog Archive » WordPress Plugin Releases for 04/02
  6. 6 links for 2007-04-02 at L’urlo del coniglio
  7. 7 WeblogToolsCollection Español » Blog Archive » Plugins de WordPress publicados 2/4
  8. 8 Un buen puñado de plugins at Escuela De Blogs
  9. 9 Módulos para Wordpress para el 3 de abril - Carrero Bitácora de los Hermanos Carrero, David Carrero Fernández-Baillo y Jaime Carrero Fernández-Baillo. Todo sobre Internet, Tecnología, Tendendias, Dominios, Bitácoras, Diseño web y Programación, …
  10. 10 WP Plugins April 3, 2007 | Blogtology
  11. 11 WP Plugins DB » Blog Archive » AWStats Xtended Info
  12. 12 30+ WordPress Plugins for Statistics
  13. 13 30+ WordPress Plugins for Statistics | Tekjuice.com
  14. 14 ..
  15. 15 flotsky - just another geek » Blog Archive » links for 2007-02-26
  16. 16 300+ Tools for Running Your Wordpress Blog « Castalie’s Blog
  17. 17 300+ Tools for Running Your Wordpress Blog « Castalie’s Blog