Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 kotti_analytics
Octocat-spinner-32 CHANGES.txt
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 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.