danwilson / google-analytics-plugin

Cordova (PhoneGap) Plugin to connect to the native Google's Universal Analytics SDK 3.0
MIT License
693 stars 500 forks source link

Google analytic returns trackview results is (not set) in Behavior panel #572

Open vinhnguyenambition opened 4 years ago

vinhnguyenambition commented 4 years ago

I used the following configuration for the ionic 4-based application to track page views.

this.googleAnalytics.startTrackerWithId('2056xxxxx')
.then(() => {
      console.log('Google analytics is ready now');
      this.googleAnalytics.trackView('Test Page Title', window.location.href);
}).catch(e => console.log('Error starting GoogleAnalytics', e));

But the result shown in google analytic behavior overview panel is (not set).

Screen Shot 2020-01-02 at 09 48 53

Can everybody tell me the reason and how to solve this problem?

kappawng commented 2 years ago

I have the same problem :-(