sphinxcontrib-googleanalytics
Sphinx extension googleanalytics
Decision gist · record as of 2026-08-14
Yes, if you maintain Sphinx documentation and want built-in Google Analytics integration without manual HTML editing. The low install friction and permissive license make it a straightforward addition. However, verify compatibility with your current Google Analytics setup (GA4 vs. legacy), and note that the package is aging—last updated 445 days ago—so check whether it still works with recent Sphinx versions before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction; single wheel dependency on Sphinx.
- Maintenance status is aging—last release was 445 days ago, though the repository remains active and not archived.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause permissive license; you may use, modify, and distribute this package freely in commercial or private projects provided you retain the license notice.
last release 2025-05-26 (445 days) · last repo commit 2025-05-26 · 24 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 98,134 downloads/mo, #13,102 on PyPI
Alternatives
Verify before relying
pip install sphinxcontrib-googleanalytics
In conf.py:
extensions = ['sphinxcontrib.googleanalytics']
googleanalytics_id = 'UA-123-123-123'- Whether the package works with current Google Analytics tracking implementations (GA4 vs. legacy Universal Analytics)
- Python version compatibility, as requires_python is unspecified in the fact sheet
What it is and what it does
sphinxcontrib-googleanalytics is a Sphinx extension that automatically injects Google Analytics tracking code into HTML documentation generated by Sphinx. It requires only Sphinx as a runtime dependency and integrates via a simple configuration entry in conf.py, where you supply your Google Analytics tracking ID.
The extension is designed for documentation authors who want to monitor how their generated HTML docs are being accessed and used. It operates at build time, adding tracking instrumentation to the final HTML output without requiring manual edits to individual pages.
Use it for
- Track visitor traffic and engagement metrics for published Sphinx documentation sites.
- Monitor which documentation pages are most frequently accessed by users.
- Gather analytics on documentation usage to inform content prioritization and updates.
- Measure the reach and adoption of technical documentation across teams or projects.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you maintain Sphinx documentation and want built-in Google Analytics integration without manual HTML editing.
The low install friction and permissive license make it a straightforward addition. However, verify compatibility with your current Google Analytics setup (GA4 vs. legacy), and note that the package is aging—last updated 445 days ago—so check whether it still works with recent Sphinx versions before committing to production use.
Install
sphinxcontrib-googleanalytics on PyPI
Before you install
Low install friction; single wheel dependency on Sphinx. Maintenance status is aging—last release was 445 days ago, though the repository remains active and not archived.
License in practice
BSD-3-Clause permissive license; you may use, modify, and distribute this package freely in commercial or private projects provided you retain the license notice.
Quickstart
pip install sphinxcontrib-googleanalytics
In conf.py:
extensions = ['sphinxcontrib.googleanalytics']
googleanalytics_id = 'UA-123-123-123'
Verify before relying
- Whether the package works with current Google Analytics tracking implementations (GA4 vs. legacy Universal Analytics)
- Python version compatibility, as requires_python is unspecified in the fact sheet
Package facts
| License | BSD-3-Clause permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageSphinx |
| Maintenance | Aging 445 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 98,134 / month, #13,102 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleEnvironment :: Web EnvironmentIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonTopic :: DocumentationTopic :: Utilities |
Evidence: sphinxcontrib_googleanalytics-0.5-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sphinx google analytics”
- sphinxcontrib-googleanalyticsAdds Google Analytics tracking to Sphinx-generated HTML documentation…
- sphinxcontrib-napoleonA Sphinx extension that converts Google and NumPy style docstrings…
- google-analytics-dataPython client library for querying Google Analytics Data API to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also sphinx-comments · sphinx-reredirects · sphinx-markdown-builder · sphinxcontrib-openapi · sphinx-jinja · sphinx-last-updated-by-git · sphinx-favicon · sphinx-gallery · sphinxcontrib-django · django-analytical