I try to collect analytics information for network connections outside MFP Server.
MFP 7.1.0.00.20151005-1721
For this test case, i use the following sample: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7-1/foundation/server-side-development-category/invoking-adapter-procedures-hybrid-client-applications/
and replace in the source code :
var resourceRequest = new WLResourceRequest("/adapters/RSSReader/getFeedFiltered", WLResourceRequest.GET); resourceRequest.setQueryParameter("params", "['MobileFirst_Platform']"); resourceRequest.send().then( loadFeedsSuccess, loadFeedsFailure, ...
by
var resourceRequest = new WLResourceRequest("http://www.engadget.com/rss.xml", WLResourceRequest.GET); resourceRequest.send().then( loadFeedsSuccess, loadFeedsFailure, ...
And add in the loadFeedsSucess function a line with WL.Analytics.send()
The request works fine but no data available in MobileFirst Analytic Console for Network (Session and device are OK)
How to show other request metrics in Network view ?
Thanks
Fred.