# Google analytics using cordova plugin not working

**URL:** <https://forum.ionicframework.com/t/google-analytics-using-cordova-plugin-not-working/202383>\
**Category:** cordova\
**Created:** [January 7, 2021, 12:02pm UTC](https://forum.ionicframework.com/t/google-analytics-using-cordova-plugin-not-working/202383 "2021-01-07T12:02:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loui4](https://avatars.discourse-cdn.com/v4/letter/l/8edcca/32.png) [@Loui4](https://forum.ionicframework.com/u/Loui4)\
**Post date:** [January 7, 2021, 12:02pm UTC](https://forum.ionicframework.com/t/google-analytics-using-cordova-plugin-not-working/202383/1 "2021-01-07T12:02:54Z")

</div>

Hello everyone, I am trying to configure google analytics in my Ionic Cordova app but it’s not hitting the google dashboard. I am using the following:-

“cordova-plugin-google-analytics” version 1.9.0 GSM 11.0.1

“@ionic-native/google-analytics”: “^4.20.0”,

Angular version 5

Cordova version 8.1.1.

below is the snippet of the code I am tracking the view but it’s not showing anything on the dashboard and it returns no error.

this.platform.ready().then(() =\> {  
this.ga  
.startTrackerWithId(id)  
.then(() =\> {  
this.ga.trackView(“DashboardApp”);  
})  
.catch((e) =\> {  
console.log(“its not happening”);  
});  
});

---

<div class="post-metadata">

**Author:** ![EinfachHans](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/einfachhans/32/130917_2.png) [@EinfachHans](https://forum.ionicframework.com/u/EinfachHans)\
**Post date:** [January 7, 2021, 1:30pm UTC](https://forum.ionicframework.com/t/google-analytics-using-cordova-plugin-not-working/202383/2 "2021-01-07T13:30:00Z")

</div>

Google Analytics for mobile Devices is not supported anymore (only still works if you have an 365 Account). You should use Firebase Analytics.
