This repository was archived by the owner on Sep 3, 2022. It is now read-only.
This repository was archived by the owner on Sep 3, 2022. It is now read-only.
'global' id in HTML tag causes analytics.js to fail badly #29
Closed
Description
If you, as I do, have a page with, say, a <div id="global">...</div>
then analytics.js will load and run via the snippet, but will not overwrite the window.analytics
variable and playback the stubbed call queue. A call to page()
will be made with the defaults, but that's the only sign that anything at all happened.
And, yes, this absolutely gave me fits while trying to debug...
Metadata
Metadata
Assignees
Labels
No labels