Skip to main content

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 0.4

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 0.4
File Size Uploaded Provenance Actions
sphinxcontrib-googleanalytics-0.4.tar.gz 2.9 kB Without provenance Details for sphinxcontrib-googleanalytics-0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sphinxcontrib-googleanalytics 0.4
File Interpreter ABI Platform Actions
sphinxcontrib_googleanalytics-0.4-py3-none-any.whl Python 3 none any Details for sphinxcontrib_googleanalytics-0.4-py3-none-any.whl

Total release size: 6.3 kB

Release files / sphinxcontrib-googleanalytics-0.4.tar.gz

Download URL sphinxcontrib-googleanalytics-0.4.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4b19c1f0fce5df6c7da5633201b64a9e5b0cb3210a14fdb4134942ceee8c5d12
BLAKE2b-256 checksum
How to use checksums
317907e26d53ecf4e8ddf2c27e5076cd7540ef1285d215ab88ae6cf7eb75ce88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / sphinxcontrib_googleanalytics-0.4-py3-none-any.whl

Download URL sphinxcontrib_googleanalytics-0.4-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6574983f9a58e5864ec10d34dc99914c4d647108b22c9249c8f0038b0cb18b3
BLAKE2b-256 checksum
How to use checksums
bf0d6cadda83ad0ac9deae6d152e0defcbaeca93bea2ed5f502f93ff9e8bc369
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Security for sphinxcontrib-googleanalytics 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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