Tracker not started - only iOS - Ionic2
See original GitHub issueHello - everything works fine on Android but the Tracker is not starting on iOS.
import {GoogleAnalytics} from 'ionic-native';
platform.ready().then(() => {
StatusBar.styleDefault();
// --- Google Analytics ---
//GoogleAnalytics.debugMode();
GoogleAnalytics.startTrackerWithId("UA-XXXXXXXX-X"); //I replaced it with my ID
GoogleAnalytics.enableUncaughtExceptionReporting(true)
.then((_success) => {})
.catch((_error) => {
console.log("ERROR Google Analytics:", _error)
})
});
Error: Tracker not started
Thanks for help 😃
Issue Analytics
- State:
- Created 7 years ago
- Comments:39
Top Results From Across the Web
Google Analytics: Tracker not started - Ionic Forum
Hello - everything works fine on Android but the Tracker is not starting on iOS. import {GoogleAnalytics} from 'ionic-native'; platform.ready().
Read more >Google Analytics not tracking views in IOS Ionic 3 ...
When I look the Google Analytics, the android is working perfectly, otherwise the iOS is not tracking any view or event.
Read more >Ionic HR suddenly not tracking
I have noticed in the last few days, the Ionic just stops tracking heart rate completely, whether I'm in an exercise mode or...
Read more >Ionic 3 Web application + Google Analytics - angular
I faced an issue when I tried to use the google analytics plugin for the web application. As it's deployed as a web...
Read more >Ionic not syncing with iPad, only with iPhone.
The reason your tracker is syncing with your iPhone but not your iPad is because your Ionic has established a Bluetooth link with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@martingra Don’t downgrade the plugin and simply set your ionic-native to 2.2.16 in your package.json (
"ionic-native": "2.2.16"
), then runnpm i
in your terminal.Instead of downgrading the plugin from 1.7.x to 1.6.0, updating
ionic-native
to 2.2.16 did the trick.