We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25d3049 commit 41b74a1Copy full SHA for 41b74a1
src/analytics/analytics.ts
@@ -64,8 +64,8 @@ export class AngularFireAnalytics {
64
65
if (!analyticsInitialized) {
66
if (isPlatformBrowser(platformId)) {
67
- gtag = window[GTAG_FUNCTION_NAME] || (() => {
68
- window[DATA_LAYER_NAME].push(arguments);
+ gtag = window[GTAG_FUNCTION_NAME] || ((...args: any[]) => {
+ window[DATA_LAYER_NAME].push(args);
69
});
70
window[DATA_LAYER_NAME] = window[DATA_LAYER_NAME] || [];
71
analyticsInitialized = zone.runOutsideAngular(() =>
0 commit comments