AXS and WordPress Integration Plugin (2.1)

This is a plugin for WordPress to allow quick and easy integration with AXS.

This plugin is for WordPress 1.5 or better.

AXS is an excellent free script to track hits to your webpage and present them in usable graphs.

You must have AXS already installed before you can use this plugin.

Just download the zip, extract the axs.php file and place it in your wp-content/plugins and then in the wp-admin plugin interface active it.

You will then have a new panel in your “Options” section called “AXS Integration”. From this panel you can enable AXS Integration and configure the plugin.

History

Version 2.1: March 29

Fixed a small bug where the plugin was using old tracking code for AXS.

Version 2: March 29

Added the ability to automatically track offsite links in post’s content and comments. Renamed the downloadable zip file from wp-axs.zip to axs.zip.

Version 1: March 23

Initial Release

Related Posts:

Comments (42)

  1. gibarian wrote::


    Hi, I installed your plugin but actually don’t have a clue what it does. Does it do what I think it does, namely replacing the tagging one has to set up inside the pages manually? Or are there some features which I am too dumb to find?

    Sunday, April 3, 2005 at 5:30 pm #
  2. Mark wrote::


    Yes, gibarian, all it does is do all the necessary tagging automatically. You can disable and enable it from the ‘options’.

    Tuesday, April 5, 2005 at 7:45 am #
  3. gibarian wrote::


    Oh, alright…thanks for clearing that up.

    Tuesday, April 5, 2005 at 6:20 pm #
  4. m. wrote::


    Any chance you can have it track links left from the WP Links menu as well?

    Awesome plugin! I love AXS.

    Thanks

    Thursday, April 14, 2005 at 9:37 pm #
  5. Mark wrote::


    Hi ‘m’, I’ve spent sometime looking at this issue and even after the upgrade to WordPress 1.5.1, it isn’t possible without hacking the WordPress code. No filters are applied to links before displaying them (though there is to the link descriptions). Sorry.

    Wednesday, May 18, 2005 at 8:41 am #
  6. Yvo van Doorn wrote::


    Awesome plugin. There seems to be no good written stats plugin available for WP. I came from using Blog:CMS which had a great stats tool and I have been looking since I switched for something comperable. Never thought of using a non WP stats tool and have it integrate with WordPress, awesome utility.

    Tuesday, May 31, 2005 at 9:03 pm #
  7. marshall wrote::


    Hi Mark, thanks for writing this plugin — I’ve been looking for AXS integration and it looks like I’ve found it =)

    Just one small problem ;)

    I can’t see the AXS Options after installing axs.php into wp-content/plugins and enabling it from my plugins menu (also made sure that axs.php was chmod’d 755). I know it says it should be a new tab under the WordPress “Options” group, but I’m not seeing it (all I have is General,Writing,Reading,Discussion,Permalinks,Miscellaneous)

    If it’s any help I’m running under Fedora Core 2 with apache2 and wordpress 1.5

    Thursday, June 16, 2005 at 7:17 am #
  8. marshall wrote::


    scratch that, i just realized you need to be logged in as admin to be able to see the options. i’ve created a level 9 user for myself that i’m always treating like my admin account. any chance on getting security visibility for the options on this plugin configurable in a future version?

    Thursday, June 16, 2005 at 7:19 am #
  9. Mark wrote::


    Marshall, I would never have guessed about the admin. I will definitly put a note in the documentation at least.

    I wasn’t planning to do any more work on it because it does exactly what it’s meant to do. I’d like it track links from the links list but you can’t do that yet in WordPress without modifying WordPress code.

    But I’ll put it on my to do list and hopefully I’ll get around to it quickly. :)

    Thursday, June 16, 2005 at 9:09 am #
  10. Fred wrote::


    I’m having the same problem as Marshall.

    I installed axs.php according to the instructions, but I’m not seeing it anywhere in wp-admin/options. I am logged in as admin and I have the current version of WordPress.

    Please advise.

    Saturday, October 29, 2005 at 9:26 pm #
  11. Fred wrote::


    I now got it successfully installed, but now it’s not working. I see the following piece of code has been automatically added to my blog page – http://www.beyourowndetective.com/blog/

    ‘);
    //–>

    but it’s not logging any hits.
    Fred

    Saturday, October 29, 2005 at 11:06 pm #
  12. Mark wrote::


    Hi Fred,

    It would seem from your last comment that you have it installed correctly and working but just got the options wrong.

    I had a quick look at your webpage, you seem to have it working now?

    In the options pane for the plugin, you should have the URI part set to

    http://www.beyourowndetective.com/cgi-bin/axs/ax.pl

    But you seem to have it set to “http://www.beyourowndetective.com/cgi-bin/axs/ax.pl/ax.pl” which probaly still works but isn’t actually correct.

    Mark

    Sunday, October 30, 2005 at 12:39 pm #
  13. Stefan wrote::


    Thanks for the plugin, I’ve been using it (and AXS, naturally) for quite some time now.

    I have a question concerning the bit of Javascript output by the plugin. Does it have any other function than determining the referring page? That can be done as well in PHP (using $_SERVER['HTTP_REFERER']), thus eliminating the need for JS.

    And I found something that could explain the double “ax.pl”-problem mentioned above: Within the JS-code, the AXS-uri is simply “$path”, while in the noscript part, it is “$path/ax.pl”.

    Saturday, November 19, 2005 at 10:30 am #
  14. Mark wrote::


    Hi Stefan,

    Your right, the referrer page could definitly be done in PHP instead of JS, but AXS is perl and I took what the manual says for AXS. I think converting it to PHP would mean modifying AXS?

    I’ll try and spend sometime looking into what you said about the double ax.pl thing.

    Thanks
    Mark

    Saturday, November 19, 2005 at 9:43 pm #
  15. Stefan wrote::


    Hi Mark,
    you do not need to modify the AXS code in any way. If you want, contact me by email – I’ll send you the modified version of your script which I’ve been testing for two days now and which seems to work quite fine (at least I still have referring pages in my AXS stats).
    And, if you use PHP instead of JS, the double ax.pl thing is irrelevant, anyway.

    Greets
    Stefan

    Monday, November 21, 2005 at 8:34 am #
  16. Fred wrote::


    I’m still unsure about something. After I installed axs.php in the plugins folder, do I only need to configure axs.php either in the Plugins editor or prior to uploading, to match where I have axs installed? Do I only need to put in my full URL to ax.pl in the following line?

    add_option(“axs_path”,”/axs/ax.pl”,”URI to where AXS is installed”);

    Is the full path always recommended over relative path? I have axs installed in /cgi-bin/axs/.

    Also I wasn’t sure if I was supposed to manually add any javascript code to the wordpress theme templates or not.

    Friday, December 30, 2005 at 3:43 pm #
  17. Mark wrote::


    Hi Fred,

    You will need to configure the plugin via the “Options” >> “Axs Integration” tab. This should appear once you’ve enabled the plugin via the Plugins’ menu (which I guess you’ve done).

    The “axs_path” option is set via the UI so you don’t need to modify it before upload. In the UI just set “URI path to where ax.pl (or whatever it is renamed to) lives.” to “/cgi-bin/axs/ax.pl” though you should probaly use the full URL to the ax.pl file.

    Does that help?

    Friday, December 30, 2005 at 9:13 pm #
  18. Fred wrote::


    Mark,
    I got it working. Thanks

    Friday, December 30, 2005 at 10:39 pm #
  19. Alan Kellogg wrote::


    What do you do when AXS is not installed in the cgi.bin?

    (In my case in ‘www’and ‘public_html’, but not “cgi.bin’. :puzzled: )

    (Don’t ask me how, I haven’t the slightest idea.)

    Friday, March 31, 2006 at 1:47 pm #
  20. Sam Stevens wrote::


    Great plugin, thank you Mark! There should be a BIG link to this page from the xav.com website.

    Tuesday, June 13, 2006 at 4:22 am #
  21. Fred wrote::


    I discovered a glitch with the plugin and use of the base href tag in wordpress. Whenever a link to another site is added to the blog, the URL to the axs script gets added on to the link – cgi-bin/axs/ax.pl?, along with any other links within the same blog post.

    Tuesday, July 11, 2006 at 3:14 am #
  22. Fred wrote::


    I just fixed the problem. I needed to uncheck “Automatically track offsite links (attempts to track offsite links in comments and posts).” I never use offsite tracking anyway.

    Tuesday, July 11, 2006 at 1:35 pm #
  23. Gord wrote::


    hi, do you think it could work in a regular PHP page?

    Thursday, July 27, 2006 at 3:21 am #
  24. Mark wrote::


    Hi Gord,

    What do you mean, use the plugin external to WordPress or using AXS with standard PHP?

    To the first question, no, to the second, yes it most certainly can. Before I wrote the plugin, I modified the header in what ever WordPress theme I was using to include AXS.

    Monday, July 31, 2006 at 7:45 am #
  25. William wrote::


    I wish you had something that would help us troubleshoot the installation. It appears in my menus OK. I had the latest AXS installed already. But it does not appear to add the code. I just went to axs an copied the code as I would for normal web pages. and pasted it in to the footer.php for my theme. Now the hits are being tracked.

    Friday, September 8, 2006 at 5:19 pm #
  26. Mark wrote::


    Hi William,

    What do you mean by “troubleshoot”? If the plugin works, you can open up the source page of any of your webpages and see the code.

    A couple of questions, what theme are you using? If it is a modified theme, make sure it has all the right “hooks” for the header and footer.

    What version of AXS? I haven’t tested the plugin with the latest code.

    What settings did you put in the options pane for the plugin?

    Tuesday, September 12, 2006 at 9:16 am #
  27. Cody Skidmore wrote::


    I’m a little lost here. I installed and configured this plugin but can’t figure out where to view the stats in WordPress. Does this plugin display AXS stats in WordPress or feed them to AXS? No page is displayed inside WordPress besides the plugin page and the configuration page. What’s missing?

    Saturday, March 17, 2007 at 6:21 pm #
  28. Mark wrote::


    Does this plugin display AXS stats in WordPress or feed them to AXS?

    No and no.

    No page is displayed inside WordPress besides the plugin page and the configuration page. What’s missing?

    Nothing.

    You must install and setup AXS seperately. This plugin simply adds the necessary hooks for AXS to track hits to your WordPress blog. You still use the AXS UI to view stats.

    Hope that makes it clearer for you.

    Saturday, March 17, 2007 at 9:37 pm #
  29. Manele wrote::


    i just installed this plugin on my blog and i love it! thank you!

    Tuesday, September 11, 2007 at 7:11 am #
  30. Estetik wrote::


    Good plugin thanks..

    Wednesday, January 30, 2008 at 4:29 pm #
  31. Estetik wrote::


    its great..

    Wednesday, January 30, 2008 at 4:30 pm #
  32. Sağlık wrote::


    Good thanks..

    Wednesday, January 30, 2008 at 4:31 pm #
  33. Estetik wrote::


    thanks

    Sunday, April 6, 2008 at 6:13 pm #
  34. Otogaz wrote::


    thanks alot

    Sunday, April 6, 2008 at 6:14 pm #
  35. rent a car wrote::


    I wish you had something that would help us troubleshoot the installation. It appears in my menus OK. I had the latest AXS installed already……

    Monday, March 23, 2009 at 12:37 am #

  36. rent a car said:
    I wish you had something that would help us troubleshoot the installation. It appears in my menus OK. I had the latest AXS installed already……

    I’m afraid I haven’t done any work on this plugin in over 3 years. I’m not sure its even compatibily with WordPress 2.7. If you want to check that it’s running, have a look at your webpages source code. You should see the AXS code at the bottom of the page. Of course if you’re theme doesn’t support the right hooks, it won’t appear.

    Monday, March 23, 2009 at 10:13 am #
  37. Jay Martin wrote::


    I think 2.8.2 makes using the theme impossible at this time.

    Tuesday, August 4, 2009 at 12:58 pm #

  38. Hi Jay,

    This is for a plugin and not a theme. While I haven’t tested the plugin, I don’t see why it wouldn’t work in 2.8.*

    Tuesday, August 4, 2009 at 1:03 pm #
  39. William wrote::


    I installed the plugin. But when I click on the menu. It tells me I am not authorized to view the page. I had the latest AXS already installed. It seems to partially work with no configuration. But I just went back to the manaual method and added the code to the pages and post pages of my template. I will just have to remember to do that if I switch themes. I am using WP 2.8.4 I used this plug in on earlier version with success.

    Monday, August 31, 2009 at 7:33 am #
  40. William wrote::


    Hey Mark I am using WP 3.2.1

    I have AXS installed and working but do not see any option setting in the dashboard or plugin area at all. I am logged in as admin. I am the only user.

    Monday, August 1, 2011 at 8:24 pm #
  41. William wrote::


    Ok found what your talking about under settings not options. But when I click I get a “You do not have sufficient permissions to access this page.” message. I am the admin on the server and only user.

    Monday, August 1, 2011 at 8:38 pm #
  42. William wrote::


    I believe it would work for me if I hacked the code and put it at the top of the footer. Then it would be the last part of the body since I have different templates. I am using the Socrates theme.

    Monday, August 1, 2011 at 8:42 pm #

Trackbacks/Pingbacks (16)

  1. Blogging Pro on Thursday, March 31, 2005 at 5:23 am


    AXS and WordPress Integration Plugin (2.1)

    AXS and WordPress Integration Plugin allows quick and easy integration with AXS. This plugin is for WordPress 1.5 or better. AXS is a free script to track hits to your web page and present them in usable graphs. You must have AXS already installed befo…

  2. Wordpress Plugins « TimeSavingExpert.com on Sunday, November 5, 2006 at 9:11 pm


    [...] AXS and WordPress Integration Plugin (http://thedeadone.net/?p=184/)  [...]

  3. Wordpress Plugins Themes Download » Blog Archive » AXS on Wednesday, February 21, 2007 at 7:06 am


    [...] http://thedeadone.net/?p=184/ [...]

  4. Profesor Blog » Los Mejores Plugins Para Worpress on Saturday, April 14, 2007 at 10:11 am


    [...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]

  5. blog on Saturday, April 28, 2007 at 12:00 pm


    blog

    blog


  6. [...] Visit [...]

  7. COMPU-RECURSOS PLUGINS PARA WORDPRESS « on Tuesday, June 19, 2007 at 7:51 pm


    [...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]


  8. [...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]


  9. [...] Visit [...]

  10. WordPress Short-State 플러그인 - Hooney.net on Friday, August 31, 2007 at 2:18 am


    [...] Visitor Tracking System 라는 오픈소스 카운터를 사용하고 있다. AXS Visitor의 경우 WP의 플러그인을 이용하면 웹페이지에 있는 링크들의 클릭수를 분석해주는 …도 있다. 이녀석은 오픈소스 카운터중에서 가장 최신 버전으로써, 너무 [...]

  11. Bitacora del Destino » Plugins para wordpress on Monday, December 10, 2007 at 3:42 am


    [...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]

  12. WordPress statistics plugins » S.S. Intrepid on Sunday, March 23, 2008 at 11:15 pm


    [...] AXS and WordPress Integration Plugin: AXS Stats is a Perl stats package that I've long been a fan of. I quite like the "Sort all by visitor" in "Database Format" for getting an at-a-glance view of how users are moving through my websites. This plugin connects WordPress to your existing AXS installation–quite handy! Installation is a breeze. [...]

  13. La Mansion » Blog Archive » Plugins Wordpress on Friday, May 16, 2008 at 7:47 pm


    [...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]


  14. [...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]

  15. (Casi) todos los plugins para wordpress « Camyna.com on Saturday, August 30, 2008 at 7:49 am


    [...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]

  16. Plugins Para WordPress | Salta Todo Web on Sunday, November 30, 2008 at 3:12 am


    [...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]