We found the following personal information in your message: This information will be visible to anyone who visits or subscribes to notifications for this post. The code to be placed in is written in the Java Script sheet of the screen without . And is the same even if i try to go to the admin panel , the only way to revert this is to disable the module from the database. But the main snippet goes into the head, not the body And especially not right before the body tag! I've recently moved some of our scripts into Google tag manager via Custom HTML with a document with write enabled. At the end I found the solution to make GTM code be detected by tag assistant and of course, working. Here is the Google Tag Manager module I would recommend for Magento 2 -: https://www.scommerce-mage.com/magento-2-enhanced-ecommerce-tracking-with-google-tag-manager.html, Try out this module: var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; {foreach from=$css_files key=css_uri item=media}, , , , , , , ,