Not seeing analytics on Google Analytics
See original GitHub issueI am debugging an issue on an iOS Cordova app. This plugin (verison 1.8.2) is being used. There is no traffic reported on the Google Analytics dashboard.
This is the code:
window.analytics.startTrackerWithId('UA-XXXX');
window.analytics.trackView('Main');
So apparently, this is the old coding syntax? I tried to change to the new way:
window.ga.startTrackerWithId('UA-XXXX',30);
window.ga.trackView('Debugging Screen Title');
I need to see this working before submitting this fix. I keep looking at the Real Time dashboard on the Google Analytics dashboard. However, I am not seeing my testing screen title “Debugging Screen Title”.
So it appears that the plugin is still not sending in analytics to Google? How should I debug this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:18
Top Results From Across the Web
Why Your Google Analytics Isn't Working (and How to Fix It)
Open your Real-Time report, wait a couple of seconds and you should see the number of all current active users on your site...
Read more >[GA4] Troubleshoot tag setup on your website - Analytics ...
If you just installed Google Analytics for the first time, and you don't see any data coming in, it may be that you...
Read more >Troubleshoot tag setup and no-data issues - Analytics Help
This troubleshooter is designed to help you resolve issues with the setup of your Analytics tag. Select the issue that most closely matches...
Read more >Why is Google Analytics Not Showing All My Traffic?
Common Google Analytics Issues (and How to Fix Them) · 1. Your tracking code is not set up correctly · 2. You are...
Read more >Google Analytics 4 not working? Here is how to fix it.
#1 Delete and disable the cache. You may be in a situation where you are making many code changes to your website, but...
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
I cannot figure this out. I am using Ionic, I am using the latest everything,
and I am using the latest version of the plugin
<plugin name="cordova-plugin-google-analytics" spec="^1.8.3" />
I am following directions exactly as it says on
https://ionicframework.com/docs/native/google-analytics/
and I still cannot get this to work properly. I suspect it has something to do with mobile vs web but I am not sure what to change.
If I run the app, look at real time data on the google analytics site, I can see myself as an active user, I can track events, but no data ever remains after it falls off of the real time tracking dashboard. I also cannot use trackView() at all. I am running my app on iOS using the ionic CLI.
Any thoughts or help would be greatly appreciated.
I have the same problem, I can track events but not pages/views. I have enabled debugmode and the output looks successful to me. Even the promise from the trackView method returns successfully, but no view appears in Google Analytics. I even tried downgrading to v1.7.11 but the issue remains.
Is this a problem with the plugin, the Ionic wrapper or with Google Analytics?
Ionic info: