Skip to content

Collective-Kotti/kotti_google_analytics

Repository files navigation

kotti_google_analytics

This extension allows Google Analytics to Kotti, in order to track users and sessions on your site. In addition, it adds Google Analytics Visualizations for reporting by using Google Analytics Embed API.

Example of Google Analytics Visualization:

https://static.raymondcamden.com/images/wp-content/uploads/2015/07/shot11.png

This is an extension to Kotti that allows to add foo to your site.

pypi downloads_month license build_status_stable

Find out more about Kotti

Development happens at https://github.com/b4oshany/kotti_google_analytics

Setup

To enable the extension in your Kotti site, activate the configurator:

kotti.configurators =
        kotti_controlpanel.kotti_configure
    kotti_google_analytics.kotti_configure

kotti_google_analytics.tracking_id = track_id_here

Database upgrade

If you are upgrading from a previous version you might have to migrate your database. The migration is performed with alembic and Kotti's console script kotti-migrate. To migrate, run kotti-migrate upgrade --scripts=kotti_google_analytics:alembic.

For integration of alembic in your environment please refer to the alembic documentation. If you have problems with the upgrade, please create a new issue in the tracker.

Development

build_status_master

Contributions to kotti_google_analytics are highly welcome. Just clone its Github repository and submit your contributions as pull requests.

Known Issues

Pip can't install googleanalystics 0.22.3:

pip install https://github.com/b4oshany/google-analytics/tarball/master#egg=googleanalytics-0.22.3