How to implement fabric analytics in moodle mobile 3.6 application that track every page visit?

How to implement fabric analytics in moodle mobile 3.6 application that track every page visit?

by Mohit juyal -
Number of replies: 1

I had set a moodle mobile 3.6 application. Now I need to add fabric analytics to track every page events of the user.

I tried on single page event tracking but I need to add this as a globally in application.

Code:

import { Answers } from '@ionic-native/fabric';

private fabricEvent: Answers

this.fabricEvent.sendCustomEvent("text", {'detail': "text"});

It's working fine but need to add as globally.

Average of ratings: -