question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tracker not started - only iOS - Ionic2

See original GitHub issue

Hello - 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:closed
  • Created 7 years ago
  • Comments:39

github_iconTop GitHub Comments

5reactions
fxlemirecommented, Jan 23, 2017

@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 run npm i in your terminal.

4reactions
fxlemirecommented, Jan 19, 2017

Instead of downgrading the plugin from 1.7.x to 1.6.0, updating ionic-native to 2.2.16 did the trick.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found