Google Analytics Not Working

I install google analytics refering this url https://ionicframework.com/docs/native/google-analytics
After building app it didnt trace page in analytics
Refer code below

this.ga.startTrackerWithId(‘MYID’)
.then(() => {
console.log(‘Google analytics is ready now’);
this.ga.trackView(‘test’);
// Tracker is ready
// You can now track pages or set additional information such as AppVersion or UserId
})
.catch(e => console.log(‘Error starting GoogleAnalytics’, e));