AWStats Script
Adds the HTML script tag and JS code that AWStats requires to enable collection of browser data like screen size and browser capabilities.
Consider an alternative
AWStats Script shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 18 years ago, and scores 31/100 on our health check.
- Small user base (20+ active installs)
- Very few reviews so far
- No update in 18 years
- Only tested up to WordPress 2.5 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where AWStats Script stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| awstats | #3 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About AWStats Script
From the official readme · v0.3Description
AWStats is a free log file analysis
tool for web servers. It consists of a collection of Perl scripts that analyse
Apache-style access logs and produce graphical web pages with extended information
about the visits.
Browser Data Collection
AWStats can collect information about the browser capabilities and screen size,
but that requires embedding a <script> HTML tag in all the pages. This calls
a JavaScript function contained in the file awstats_misc_tracker.js that will
report the extra data to the web server in a specific HTTP GET request. An
extended explanation is provided in the AWStats FAQ
This plugin simplifies the job of adding the required <script> tag and provides
the latest stable version of the awstats_misc_tracker.js file, both in extended
and “minified” version using the Yahoo YUI Compressor.
Placing the Script
To speed-up the page rendering, the <script> tag is best placed at the bottom
of the page. This is the preferred option for WordPress themes that have a footer.
If the theme doesn’t have a footer, the tag is added to the page header. This
behaviour can be controlled using the plugin’s settings page. This has been
borrowed from the Google Analyticator plugin by Ronald Heft Jr.
No Logging for Administrators
The plugin also allows administrators to remove themselves and their visits from
the AWStats log. There is a field in the settings page where we can enter the user
level (a number from 0 to 10) above which the plugin will omit the <script> tag.
Installation
- Upload the
awstats-scriptdirectory to the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Configure and enable the plugin in the ‘AWStats Script’ Options page
Changelog
Version 0.3 (01/07/2008)
- BUGFIX: Added
altattribute for<img>inside<noscript> - BUGFIX: Closed the
<img>tag properly - BUGFIX: Removed a superfluous double quote that broke XHTML validation
Version 0.2 (29/06/2008)
- NEW: Screenshots of settings page
- NEW: Support for i18n
Version 0.1 (29/06/2008)
- First release
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best AWStats Script alternatives
All awstats plugins →| Rank | Plugin | Active installs |
|---|---|---|
| 2 |
|
10+ |
FAQ
AWStats Script: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is AWStats Script free?
Yes. AWStats Script is free to download and use from the official WordPress.org plugin directory.
Is AWStats Script safe to use in 2026?
AWStats Script shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 5/5 and was last updated 18 years ago, and scores 31/100 on our health check.
How many websites use AWStats Script?
AWStats Script is active on 20+ WordPress websites and has been downloaded 5,927 times since it launched in June 2008. It was downloaded 117 times in the last 30 days.
Does AWStats Script work with WordPress 7.1?
AWStats Script is officially tested up to WordPress 2.5.1, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was AWStats Script last updated?
The latest version, 0.3, was released on July 1, 2008 (18 years ago).
Who makes AWStats Script?
AWStats Script is developed and maintained by Jorge Garcia de Bustos.
What are the best alternatives to AWStats Script?
The most popular alternatives to AWStats Script are AWStats Xtended Info (10+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


