sphinx-contrib-pygtk / googleanalytics /

Filename Size Date modified Message
49 B
1.2 KB
81 B
1.1 KB
.. -*- restructuredtext -*-

Google Analytics extension for Sphinx

: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.

.. Links:
.. _gnuplot:
.. _Sphinx: