Sphinx extension googleanalytics
Project description
- 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.
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
Close
Hashes for robpol86-sphinxcontrib-googleanalytics-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41780f8d5231e597a6ec8b4cad1ef33d07ab74e0e04ab8fadff92a5d136480ad |
|
MD5 | 05b7f6a08056b20640a7da606bb69a95 |
|
BLAKE2b-256 | 762eaf5d2a478524ac94f1d6330c251fd692fa8a278940806f18026d10b290fa |