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 4aee687 commit cb5730cCopy full SHA for cb5730c
packages/openneuro-app/src/scripts/utils/gtag.js
@@ -1,8 +1,9 @@
1
/*global globalThis*/
2
globalThis.dataLayer = globalThis.dataLayer || []
3
4
-function gtag(...args) {
5
- globalThis.dataLayer.push(args)
+function gtag() {
+ // eslint-disable-next-line prefer-rest-params
6
+ globalThis.dataLayer.push(arguments)
7
}
8
9
gtag("js", new Date())
0 commit comments