ibm-mobilefirstmobilefirst-analytics

MobileFirst Analytics Creating a Custom Chart


I wanted to see how many times users visited that certain screen/page of my application using MFP Analytics. I'm wondering if I can use the analytics logs and make a log per screen and create a custom chart for the logs?

I based my assumptions on this mobilefirst tutorial: https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.0/moving-production/operational-analytics/


Solution

  • Yes, you can do this. It is as simple as creating a custom event such as "page X was visited" and on every load of a page, log the action (of loading it) and then send it back to the Analytics server. You can then splice your analytics data per page (event).

    You can see this explained and demoed in the following: