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.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sphinxcontrib_googleanalytics-0.6.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinxcontrib_googleanalytics-0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / sphinxcontrib_googleanalytics-0.6.tar.gz
| Download URL | sphinxcontrib_googleanalytics-0.6.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc8740342331ff523b5eda8f5d1ea6176acfa86bbd195e8d67f642db8f2b22c7
|
|
BLAKE2b-256 checksum How to use checksums |
8424bdd9ae42b7017fcea870fe24ee1815793289219644010a015253b9b21ce6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / sphinxcontrib_googleanalytics-0.6-py3-none-any.whl
| Download URL | sphinxcontrib_googleanalytics-0.6-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9264640a9a0449a088cadaca6794946e60059345752221dae2c6ad986723d3d4
|
|
BLAKE2b-256 checksum How to use checksums |
ca4a516e8cfabfe1760ac1ea5e310779e2a0986174c2f7ba95499f9d5bf46e1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for sphinxcontrib-googleanalytics 0.6
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.