Skip to main content

Google Analytics for Kotti

Project description

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:

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


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

kotti.configurators =

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.



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


1.2.0 - 1.2.1

Date: 2017-06-09

  • Added support for Google Analytics USER ID feature
  • Pinned kotti_controlpanel to 1.0.9 or greater


  • Fixed instruction links



  • Added more charts.


1.1.15 - 1.1.16

1.1.11 - 1.1.14

  • FIxed error caused by click

1.1.1 - 1.1.10

  • Fixed rst files.



  • Set the tracking code to be placed in the slot below the content area.


  • Added Tracking code

1.0.0 - unreleased

  • Create package with pcreate -s kotti kotti_google_analytics.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kotti_google_analytics, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size kotti_google_analytics-1.2.1.tar.gz (56.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page