We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe19f81 commit 87cd81bCopy full SHA for 87cd81b
packages/analytics/lib/modular/index.js
@@ -67,11 +67,12 @@ export function initializeAnalytics(app, options) {
67
/**
68
* Retrieves a unique Google Analytics identifier for the web client.
69
*
70
- * @param {AnalyticsInstance} analyticsInstance - Instance of analytics (web - only)
+ * @param {FirebaseAnalytics} analytics - Instance of analytics (web - only)
71
* @returns {string}
72
*/
73
-export function getGoogleAnalyticsClientId(analyticsInstance) {
74
- throw new Error('getGoogleAnalyticsClientId is only supported on Web');
+export function getGoogleAnalyticsClientId(analytics) {
+ throw new Error('getGoogleAnalyticsClientId is web-only and not yet supported.');
75
+ return analytics
76
}
77
78
* Log a custom event with optional params.
0 commit comments