-
Exploring alternative options for placing Google Analytics code in Angular without using the header
Hey there, just wondering if there’s a method to place my Google Analytics code in a different spot within my Angular project, instead of directly inside the head? I get that hiding my id isn’t an option, but I’m keen to keep my code looking cleaner when viewed via the browser. If you’ve got any solutions in Typescript that’d be ace!
I’m simply trying to keep my script tag out of sight within the DOM.
Log in to reply.