Jump to content

Awstats Improvement


Recommended Posts

Remember, everyone, when searching the forums go over to the section that says "Search posts from" and change it to whatever is appropriate. That particular post was made more than 30 days ago so if you didn't change that section then that's why it didn't show up.

Link to comment
Share on other sites

no problem gave me something to do inbetween runs to the laundry room =)

Link to comment
Share on other sites

So this portion of the statistics page;


Tracking screen resolutions

TCH-Raul has provided these instructions for installing a javascript on your web site to track miscellaneous information, such as: screen size, screen color depth, Java enabled, plugins for Macromedia, Realplayer, QuickTime, MediaPlayer and Acrobat PDF


1. Download and unzip the custom javascript file:  awstats_misc_tracker.zip


2. Create directory "js" under your public_html directory and then upload the custom javascript file to it


3. Modify your web site's home page by adding the following code toward the end of the HTML page, just before the </body> tag:

<script language="javascript" src="/js/awstats_misc_tracker.js">

did not work?



I found this on the awstats site;



# MiscTrackerUrl can be used to make AWStats able to detect some miscellanous

# things, that can not be tracked on other way like:

# - Screen size

# - Screen color depth

# - Java enabled

# - Macromedia Director plugin

# - Macromedia Shockwave plugin

# - Realplayer G2 plugin

# - QuickTime plugin

# - Mediaplayer plugin

# - Acrobat PDF plugin

# To enable all this features, you must copy the awstats_misc_tracker.js file

# into a /js/ directory stored in your web document root and add the following

# HTML code at the end of your index page (before ) :

# <script language=javascript src="/js/awstats_misc_tracker.js"></script>

# If code is not added in index page, all this detection capabilities will be

# disabled. You must also check that ShowScreenSizeStats and ShowMiscStats

# parameters are set to 1 to make results appear in report page.

# If you want to use another directory than /js/, you must also change the

# awstatsmisctrackerurl variable into the awstats_misc_tracker.js file.

# Change : Effective for new updates only.

# Possible value: Full URL of javascript tracker file added in HTML code

# Default: "/js/awstats_misc_tracker.js"


You might have to add those two lines to your awstats.

Link to comment
Share on other sites

Nothing like getting half instructions, it took me a looooooooooong time to find this pieces that you have to add to your awstats conf. file. Rob, the lines u mention are, I believe, commented out with the #'s, the lines below are the ones that are needed:



I hope you no one thinks I'm bad-mouthing anyone. I'm just saying that it took me a long time to find those lines above to add to the config file to make the tracker work. :P


I added it the the awstats.mysite.com.conf file found here:



Now, I'm not sure if I have to add it to the conf files for each of my subdomains or whether I even added it to the right file. :huh:


But, um, yeah... there u go. I've been getting stats since I added those lines.




Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...