Sphinx extension googleanalytics
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sphinxcontrib-googleanalytics-0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b19c1f0fce5df6c7da5633201b64a9e5b0cb3210a14fdb4134942ceee8c5d12 |
|
MD5 | a267c20096c4006bef6605e64cb3a4d3 |
|
BLAKE2b-256 | 317907e26d53ecf4e8ddf2c27e5076cd7540ef1285d215ab88ae6cf7eb75ce88 |
Close
Hashes for sphinxcontrib_googleanalytics-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6574983f9a58e5864ec10d34dc99914c4d647108b22c9249c8f0038b0cb18b3 |
|
MD5 | 027c1b7db76e821faefaf1243d2e00bd |
|
BLAKE2b-256 | bf0d6cadda83ad0ac9deae6d152e0defcbaeca93bea2ed5f502f93ff9e8bc369 |