Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Add a Google Analytics widget to your Kotti site
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
kotti_analytics
CHANGES.txt
MANIFEST.in
README.rst
setup.py

README.rst

kotti_analytics

This is an extension to the Kotti CMS that allows you to add Google Analytics widgets to your Kotti site.

Find out more about Kotti

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.

Something went wrong with that request. Please try again.