Personal tools
You are here: Home How To Plone Content Management System Enabling Google Analytics

Enabling Google Analytics

Adding Google Analytics code into your Plone website

Google Analytics is Google's premiere free website traffic monitoring solution. 

Adding Google Analytics to your Plone site is a fairly straightforward process.

 

  1. Log in as an administrator
  2. Click "Site Setup" on the top right, if you do not see the Site Setup link then change the address to http://www.yourdomain.com/plone_control_panel
  3. Click "Site" for general site configuration
  4. Go to the bottom
    Javascript Input for Plone web statistics
  5. Input the code snippet provided to you by Google.  It looks very much like this.
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("YOUR TRACKER HERE");
    pageTracker._trackPageview();
    } catch(err) {}</script>
  6. Click "Save" and now Google is gathering statistics about your web page.
  7. Finally, see our tutorial on accessing your very own  Google Analytics.
Document Actions
Copyright © 2000- 2010 Net Easy, Inc. All Rights Reserved. Terms of Use | Privacy Policy