I don't know gtag, so I can't help there, but maybe you can configure gtag so the object it relies on is called differently.One other, more complex solution would be to "mask" it by implementing all the array methods in your object and use them to operate on an internal array:dataLayer._gtagDataLaye...