I'm trying to use the MiscTracker script. It is putting results into my log files, but the awstats.pl will not output them to the generated reports.
I've looked at a page that purports to tell me how to fix this, and it states -
Note: If you change directory where awstats_misc_tracker.js is stored (somewhere else than the /js directory), you must modify, according to your change: - the html tags added - the line: var awstatsmisctrackerurl=”/js/awstats_misc_tracker.js”; inside the awstats_misc_tracker.js script - the parameter MiscTrackerUrl inside AWStats configuration file.
What html tags are they talking about? The html tags added to what? I have the path set to the root of my domain, and have made the other two changes shown above as stated.
Also, in some places in the documentation it tells me to set ShowMiscStats=anjdfrqwp and in other places it tells me to set ShowMiscStats=1
Which is correct?
Here is what the line looks like that is being put in my log files.
Send me an email ( awstats@internetofficer.com ) with 100 lines from your log file. I will try to parse them with AWStats and I will let you know what I get.
Well, the problem is the comments in the configuration file talk about "possible column codes" to add to the ShowMiscStats parameter so I have it set to -
ShowMiscStats=anjdfrqwp
Which I assumed would show all available stats. I'll change it to "1" and see if that works. Here is what the comments in the configuration file say -
# Show misc chart # Context: Web, Streaming # Default: a (See also MiscTrackerUrl parameter), Possible column codes: anjdfrqwp
Note the quoted default value of "a", and no mention of setting it to "1" being possible.
Also, I have the other paramater set as follows -
MiscTrackerUrl="awstats_misc_tracker.js"
Which according to your example is missing a leading / character in the url. I'll make a change there as well.
Thanks for your help. I'll get back to you, and let you know if it works for me now.
I was previously looking at the wrong configuration files. the actual files I have in use already had showMiscStats=1, but were missing the / in the url in the other paramater, so that must have been the problem. I'm going to give it a test run now to see if it works.
Yes! the missing / in the url was the problem, and I am now getting results from misctracker! It is only showing data in the percentage column, but that works for me. Here is it's output below.
Add to favorites (relative indicator)
890 / 1988 Visitors
44.7 %
Javascript disabled
-
4.3 %
Browsers with Java support
-
91.2 %
Browsers with Macromedia Director Support
-
10.9 %
Browsers with Flash Support
-
92.3 %
Browsers with Real audio playing support
-
26.3 %
Browsers with Quicktime audio playing support
-
45 %
Browsers with Windows Media audio playing support
-
82.4 %
Browsers with PDF support
-
80.2 %
I am also now getting results in the Screen Sizes section of the report so I am now happy with the results. Thank you very much for finding the error for me. Later, Ray Parrish
In the IIS logs cs-uri-stem & cs-uri-query are used for the full url. awstats.pl glues those 2 together before processing any awstats_misc_tracker results in its logs.
I guess this works for some/most/all other people, but it does not work for me…