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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70397e00751d25e7495a450e84ecd00084fc7d1b752f7cf8ea08fd6abaededdd |
|
MD5 | 212acadb52050c60b5714a7cbcf96be1 |
|
BLAKE2b-256 | 45ac4da8e705888dd410d0f08c0e463b8178858fe79a1f6b302817be0aabef3b |
Close
Hashes for sphinxcontrib_googleanalytics-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a2dc8d81f5e2f3375754eba491ea9f09a19d7e2f7737ecddcd0c6c47ffe3e6e |
|
MD5 | d4ca38f8d720db5103661d9dd014a092 |
|
BLAKE2b-256 | 9ea0d9a9d56221fc4c75698f11f74801a289c596dba346ab243e95f4f9f5c934 |