File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/analytics/lib/modular Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,12 @@ export function initializeAnalytics(app, options) {
67
67
/**
68
68
* Retrieves a unique Google Analytics identifier for the web client.
69
69
*
70
- * @param {AnalyticsInstance } analyticsInstance - Instance of analytics (web - only)
70
+ * @param {FirebaseAnalytics } analytics - Instance of analytics (web - only)
71
71
* @returns {string }
72
72
*/
73
- export function getGoogleAnalyticsClientId ( analyticsInstance ) {
74
- throw new Error ( 'getGoogleAnalyticsClientId is only supported on Web' ) ;
73
+ export function getGoogleAnalyticsClientId ( analytics ) {
74
+ throw new Error ( 'getGoogleAnalyticsClientId is web-only and not yet supported.' ) ;
75
+ return analytics
75
76
}
76
77
/**
77
78
* Log a custom event with optional params.
You can’t perform that action at this time.
0 commit comments