webMethods API Portal tutorial
Google Analytics’ main purpose is generating reports and statistics on the usage of your website, for example:
- how many developers visited your API Portal .
- what country are they from.
- how many pages they visited per session.
- how many visitors bounced off your Portal (without performing any action).
- which pages were the most popular, etc.
API Portal Built-In Analytics
webMethods API Portal also offers built-in page analytics which gives the basic overview about
- how many different pages are viewed
- Top 10 APIs are viewed frequently
- Page views trend over time
- API Views trend over time.
As part of this tutorial we will try exploring a simple way to integrate google analytics with webMethods API Portal so that as a admin you will be able to analyze the user interaction with the API Portal and keep improving the retention rate.
Sign up with Google Analytics
Once you sign up with GoogleAnalytics, Google will provide you a codesnippet snippet similar to the one listed below.
Create new modification set
We need to inject scripts provided by Google while loading webMethods API Portal. For doing that, let us create a new modification set within webMethods API Portal.
If you save and activate the modification set, your webMethods API Portal will start pushing the analytics data into Google Analytics.