Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Sphinx extension googleanalytics

Project Description


Original PyPI for this extension is outdated. Publishing this to PyPI with changes from 2015-08-11 by Lev Levitsky.

author:Domen Kožar <>


This extensions allows you to track generated html files with Google Analytics web service.

Installing from sphinx-contrib checkout

Checkout sphinx-contrib:

$ hg clone

Change into the googleanalytics directory:

$ cd sphinx-contrib/googleanalytics

Install the module:

$ python install

Enabling the extension in Sphinx

Just add sphinxcontrib.googleanalytics to the list of extensions in the file. For example:

extensions = ['sphinxcontrib.googleanalytics']


For now one optional configuration is added to Sphinx. It can be set in file:

googleanalytics_id <string>:
UA id for your site, example::
googleanalytics_id = ‘UA-123-123-123’
googleanalytics_enabled <bool>:
True by default, use it to turn off tracking.

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(3.0 kB) Copy SHA256 Hash SHA256
Source None Oct 16, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers