kotti_analytics 0.2
Add a Google Analytics widget to your Kotti site
This is an extension to the Kotti CMS that allows you to add Google Analytics widgets to your Kotti site.
Setting up a widget
To set up the widget to run on every page in Kotti on the right hand side, add kotti_analytics.include_widget to the kotti.includes setting in your Paste Deploy config:
kotti.includes = kotti_analytics.include_widget
To set the analytics tracking id for the widget, set the kotti_analytics.tracking_id variable. An example:
kotti.includes = kotti_analytics.include_widget kotti_analytics.tracking_id = UA-XXXXXXX-X
Note that these settings have to be in your [app:Kotti] section.
History
0.2 - 2011-05-30
- Move slot to below the content
0.1 - 2011-05-30
- Initial release
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| kotti_analytics-0.2.zip (md5) | Source | 2011-05-30 | 5KB | 271 | |
- Author: Daniel Newton
- Home Page: http://pypi.python.org/pypi/kotti_analytics
- Keywords: google analytics kotti cms pylons pyramid
- License: MIT
- Categories
- Package Index Owner: djpnewton
- DOAP record: kotti_analytics-0.2.xml
