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)
| 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
|