Jump to content
Sign in to follow this  

Awstats Improvement

Recommended Posts



Well, I've searched & browsed and I cannot find the post. A while back I read a great post on how to add a little script to every page so that awstats would track screen resolutions.


Anyone know where that could be?



Share this post

Link to post
Share on other sites

Thanks Magenta :)


that was exactly what I wanted. I didn't realise it was in the help files now lol.


btw, cute cat ;)

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

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

Share this post

Link to post
Share on other sites



dang about that search thing. I never even looked at the how far back it was going!! ;)


Obviously it was a blond day!!

Share this post

Link to post
Share on other sites

Ah, don't give it another thought - it bites us all at one time or another.

Share this post

Link to post
Share on other sites

Well, not sure about this but the instructions on the help do not get me any information on screen resolutions..


Does anyone know of any other ways to track this? ATM I feel like I'm just guessing.

Share this post

Link to post
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.

Share this post

Link to post
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.




Share this post

Link to post
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.

Sign in to follow this  

  • Create New...