jaketrent / html-webpack-template

a better default template for html-webpack-plugin
MIT License
830 stars 139 forks source link

Support Google Tag Manager #52

Closed jamesdh closed 6 years ago

jamesdh commented 7 years ago

Currently the template supports adding a Google Analytics script. Google Tag Manager on the other hand can do much more, and can be used to install Google Analytics as well (among other things). So basically by supporting GTM, you get a more general purpose tool that does GA and more.

jaketrent commented 6 years ago

GTM and other html can now be injected as snippets since https://github.com/jaketrent/html-webpack-template/pull/62