Skip to main content

Add a Google Analytics widget to your Kotti site

Project description

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.

History

0.2 - 2011-05-30

  • Move slot to below the content

0.1 - 2011-05-30

  • Initial release

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page