Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

WSO2 API Manager can be configured to track runtime statistics of API invocations through Google Analytics (http://www.google.com/analytics). Google Analytics is a service which allows you to track visits to a website and generate detailed statistics.

This guide explains how to setup API Manager in order to feed runtime statistics for summarization and display to Google analytics.

1. Setup a Google Analytics account if not subscribed already and receive a Tracking ID, which is of the format "UA-XXXXXXXX-X". A Tracking ID is issued at the time an account is created with Google Analytics.

2. Open $AM_HOME/repository/conf/api-manager.xml. Enable the <GoogleAnalyticsTracking> element and enter the Tracking-ID.

<GoogleAnalyticsTracking>
   <!-- Enable/Disable Google Analytics Tracking -->
   <Enabled>false</Enabled>
   <!-- Google Analytics Tracking ID -->
   <TrackingID>UA-XXXXXXXX-X</TrackingID>
</GoogleAnalyticsTracking>

3. Save the file and restart the API Manager instance.

 

 

  • No labels