Toggle menu

Website Metrics

The Website Metrics tab of the article editor displays information about the current article, taken from your Google Analytics account.

Web Metrics
 

Note: Web Metrics is a service that retrieves data from your Google Analytics account and displays it in iCM. It does not provide any analytics of its own. The standard Google Analytics tracking code will still need to be present in your site's source code.

Allowing iCM to Access your Google Analytics Data

When setting up website metrics, you authorise your iCM installation to access your Google data. iCM stores tokens that allows it access without requiring your iCM users to log into your Google account every time. Note that your Google account username and password are not stored by iCM, only installation identifiers and the access token are stored.

On the Google side you need to:

  1. Have Google Analytics set up and working on your site
  2. Make sure you are logged into Google using the account you use to manage your Google Analytics
  3. Complete the first two steps of https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries (opens new window) to enable the data API, download the JSON file, and add the client_email address (found in the JSON file) as a "Viewer" to your Google Analytics property

In iCM you can configure metrics at a system-wide level or per subsite.

System-wide:

  1. In iCM open the iCM Settings under System Configuration
  2. Open the Website Metrics Defaults tab
  3. Enter your Google Analytics Property ID as the Default Analytics ID
  4. Upload the JSON file you downloaded from Google
  5. Press "Save settings"

Metrics Keys
 

Per subsite:

  1. In iCM open Subsites under Definitions
  2. Double-click on the site you want to edit to open the Subsite Properties
  3. Enter your Google Analytics Property ID as the Default Analytics ID
  4. Upload the JSON file you downloaded from Google
  5. Press "Save this subsite"

Subsite Metrics
 

Google OAuth Authorisation - Native Application

These fields are no longer used and will be removed in a future release.

Last modified on 27 February 2024

Share this page

Facebook icon Twitter icon email icon

Print

print icon