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 sphinx-contrib:

$ hg clone https://bitbucket.org/birkenfeld/sphinx-contrib/

Change into the googleanalytics directory:

$ cd sphinx-contrib/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 robpol86-sphinxcontrib-googleanalytics 0.1

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

Source distribution (sdist)

Source distribution for robpol86-sphinxcontrib-googleanalytics 0.1
File Size Uploaded Provenance Actions
robpol86-sphinxcontrib-googleanalytics-0.1.tar.gz 3.0 kB Without provenance Details for robpol86-sphinxcontrib-googleanalytics-0.1.tar.gz

Release files / robpol86-sphinxcontrib-googleanalytics-0.1.tar.gz

Download URL robpol86-sphinxcontrib-googleanalytics-0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
41780f8d5231e597a6ec8b4cad1ef33d07ab74e0e04ab8fadff92a5d136480ad
BLAKE2b-256 checksum
How to use checksums
762eaf5d2a478524ac94f1d6330c251fd692fa8a278940806f18026d10b290fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for robpol86-sphinxcontrib-googleanalytics 0.1

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