nuxt-gtm
nuxt-gtm copied to clipboard
Load script tag within <head> tag
Is there an ability to load the script tag:
<script async="" src="https://www.googletagmanager.com/gtag/js?id=GTM-XXXXXX&l=dataLayer"></script>
within the head tag instead of within the body tag?
It would be great if this was a module option as it is recommended to insert into <head> of document.
https://nuxt.com/modules/nuxt-gtm#modules-options
Some other plugins/modules in other frameworks has something like this appendTo: head | body
Yes, need this :)