Attention

This document was written for an old version of Plone, Plone 3, and was last updated 1569 days ago.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

What do I paste into the "JavaScript for web statistics support" box in Plone 3?

Plone 3's "Site Settings" control panel has a box labeled "JavaScript for web statistics support" -- but it's not obvious what to put in there.

« Back to Table of Contents

Plone 3.0.1 and above includes built-in support for Javascript based web statistics services, such as Google Analytics.

To enable statistics collection, go to Site Setup -> Site -> JavaScript for web statistics support.

Sign up for Google Analytics, and after you complete the setup wizard there, cut and paste Google's code snippet into the JavaScript box.

Copy-paste the web statistics script including all <script>..</script> tags.