score:1

Accepted answer

I found the problem. Google Analytic's code was:

function gtag(){dataLayer.push(arguments);}

I changed it to:

window.gtag = (...args) => dataLayer.push(args);

However, GA expects an arguments object because it uses arguments.callee.


Related Query

More Query from same tag