I need to place noscript tag of gtm just after closing body tag.
You have to need <noscript> code just before closing </body> tag right ?– Kirti NariyaApr 14, 2019 at 6:44
You can set
<noscript> tag after body tag, then need to set your template
before.body.end where you have to called your template for set
Follow below steps:
Your xml file set your template in
<referenceContainer name="before.body.end"> <block class="Vendor\Module\Block\GoogleTag" name="bock_name" template="Vendor_Module::yourtemplete.phtml" after="-" /> </referenceContainer>
<noscript> code in yourtemplete.phtml file
After you can able to show your
<noscript> code just after closing body tag.
Hope it help!