it's almost the most developer friendly technology ever,, in my opinion .. keep moving forward.
Steps to reproduce
i'v tryed to add https://tagmanager.google.com to my nuxt app,
followed this example https://nuxtjs.org/faq/google-analytics here and it works fine for just google analytics,,
unlike analytics .. google tag manager requires two steps to include it in your app the first is a head script
tag, the other is a noscript
tag needs to be placed immediately after body
opening tag.
this is the script tag included as explaned in the analytics example:
this the included noscript
tag:
<noscript>
<iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
it works but with no effect router.afterEach()
and it causes this error
thanks in advance ...
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c580">#c580</a>)</em></sub></div>