google-analytics-plugin icon indicating copy to clipboard operation
google-analytics-plugin copied to clipboard

Not able to Set custom UserId and custom events in Browser, ios and android Platform: URGENT

Open garuav opened this issue 4 years ago • 0 comments

Hi Guys, can anyone please help urgent requirement to track the custom userId and custom events in google analytics in all the platform i.e. browser, ios, and android.

i) Setting Tracking Id -- this.googleAnalytics.startTrackerWithId('G-XXXXXXXXXX') ii) For User Id-- this.googleAnalytics.setUserId() iii) For Events -- this.googleAnalytics.trackEvent(, <custom eventName>, ).

using the first point (Setting Tracking Id ) on platform ready.

in all three methods getting the success callback but the events were not tracked in google analytics console and also not able to use the debug mode.

Earlier used Firebase Analytics Plugin in other projects and that's working fine for ios and android platform, but now the requirement is for browser platform as well can anyone help to resolve the issue for this.

Thanks in advance.

garuav avatar Jul 11 '20 10:07 garuav