NowYouKnowProgramming / webdev-learning-materials

Don't waste time - the highest quality resource hub for web developers (and not only!)
https://bewebdev.tech
BSD 3-Clause "New" or "Revised" License
58 stars 11 forks source link

Refactor: improve the readability of the gtag injection script #155

Closed Willaiem closed 1 year ago

Willaiem commented 1 year ago

Made the script easier to understand. Also, the gtag logic is executed only in the single script tag (not separately) - this may fix the issue, but I'm not sure.