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
Comments (42)
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?
Yes, gibarian, all it does is do all the necessary tagging automatically. You can disable and enable it from the ‘options’.
Oh, alright…thanks for clearing that up.
Any chance you can have it track links left from the WP Links menu as well?
Awesome plugin! I love AXS.
Thanks
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.
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.
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
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?
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.
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.
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
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
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”.
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
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
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.
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?
Mark,
I got it working. Thanks
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.)
Great plugin, thank you Mark! There should be a BIG link to this page from the xav.com website.
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.
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.
hi, do you think it could work in a regular PHP page?
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.
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.
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?
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?
No and no.
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.
i just installed this plugin on my blog and i love it! thank you!
Good plugin thanks..
its great..
Good thanks..
thanks
thanks alot
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.
I think 2.8.2 makes using the theme impossible at this time.
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.*
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.
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.
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.
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.
Trackbacks/Pingbacks (16)
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…
[...] AXS and WordPress Integration Plugin (http://thedeadone.net/?p=184/) [...]
[...] http://thedeadone.net/?p=184/ [...]
[...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]
blog
blog
[...] Visit [...]
[...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]
[...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]
[...] Visit [...]
[...] Visitor Tracking System 라는 오픈소스 카운터를 사용하고 있다. AXS Visitor의 경우 WP의 플러그인을 이용하면 웹페이지에 있는 링크들의 클릭수를 분석해주는 …도 있다. 이녀석은 오픈소스 카운터중에서 가장 최신 버전으로써, 너무 [...]
[...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]
[...] 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. [...]
[...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]
[...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]
[...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]
[...] AXS Integration: Facilita la integración entre WordPress y AXS, un script gratuito para la generación de estadísticas sobre páginas web. [...]