Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Google Analytics extension for Sphinx

author:

Domen Kožar <domen@dev.si>

About

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

Installing from sphinx-contrib checkout

Checkout googleanalytics sphinx extension:

$ git clone https://github.com/sphinx-contrib/googleanalytics

Change into the googleanalytics directory:

$ cd googleanalytics

Install the module:

$ python setup.py install

Enabling the extension in Sphinx

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

extensions = ['sphinxcontrib.googleanalytics']

Configuration

For now one optional configuration is added to Sphinx. It can be set in conf.py 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.

Metadata

Release files for sphinxcontrib-googleanalytics-workaround 0.2.dev20231020

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxcontrib-googleanalytics-workaround 0.2.dev20231020
File Size Uploaded
sphinxcontrib-googleanalytics_workaround-0.2.dev20231020.tar.gz 3.0 kB Details

Release files / sphinxcontrib-googleanalytics_workaround-0.2.dev20231020.tar.gz

Download URL sphinxcontrib-googleanalytics_workaround-0.2.dev20231020.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5563e84d6427680533943145ec1bb337b310bdbc5a8dd3c3f1ce29f6551e7c9a
BLAKE2b-256 checksum
How to use checksums
628f6cde55b024ac40d8300d0bb921152766889f01baabd32e25adb893a64703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.0

Release history Release notifications | RSS feed

This release

0.2.dev20231020 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page