score:0

The <noscript> tag is not Google Tag Manager: it's just a pixel tracker Google uses to collect statistics about people blocking JavaScript.

For GTM to work you need to insert the <script> tag (the actual GTM snippet, or load it via custom code such as https://github.com/alinemorelli/react-gtm). Once the snippet runs, it will create the window.dataLayer array and push the gtm.js event to it upon loading:

enter image description here

score:0

<noscript> is for the users who have disabled Javascript in their browsers. Instead you should insert the tracking code snippet provided by Google Analytics/Tag manager when you are setting up the container as the first item into the <HEAD>. it is something like follows,

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=GA_MEASUREMENT_ID"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'GA_MEASUREMENT_ID');
</script>

to get yours, in Google Analytics, go to the admin section. in there under the property column select the property you want to redirect your data and select tracking info->tracking code.

In Google Tag Manager, once you go inside the container, click on the container code and you'll be able to find the tracking code there.

GA : https://developers.google.com/analytics/devguides/collection/gtagjs/#install_the_global_site_tag

GTM : https://developers.google.com/tag-manager/quickstart


Related Query

More Query from same tag