Hi, using the plugin and using the SmartMag theme, same problem – but only on some pages, e.g. not on homepage, but on subsites like https://www.safety-security.ch/apps-smartphones-brandschutz/
Used standard implementation and “Just after the opening <body> tag”
How can I fix it?
Hello, I’m using Shoptimizer theme and I’m facing the same problem. Tag Manager displays error
“Tag not placed correctly. Your tag may be installed too low in the page” in the cart and checkout page
Hi there, same here. Using the plugin in combination with Borlabs. GTM integration starts in line 18 deffinitely at first before any other scripts.
I’m using Shoptimizer and also getting the error…
Tag not placed correctly
Your tag may be installed too low in the page, which can impact performance.
Any advice how to resolve would be highly appreciated!
@dimi993 @origami-penguin
I’m running GTM on Shoptimizer but haven’t seen such an issue.
Not sure if any of these points help, but here’s a few more notes on my config…
I’m using WooCommerce and have installed the Advanced eCom Datalayer based on GTM4WP documentation.
The website also has “Facebook for WooCommerce” “Google for WooCommerce” “Elementor Pro” amongst other plugins.
There’s Google Ads running and the associated Google Ads Conversion Tags also applied through GTM.
Seriously struggling to figure out this container placement issue, so any help is appreciated.
@origami-penguin
I suggest, open your site on a browser, right-click and select “View page source”. Then press “Ctrl+F” (for windows) “Command+F” (for mac). Search with your GTM-XXXXXXXX, and check if it’s within the </head> tag or not.
I can see that the GTM4WP inserts the scripts on line 6 of the head. There’s only a few <meta> and <link> entries above it.
One thing I have noticed is that the script to add the data-layer coming from GTM4WP is entered before the GTM container. I was under the impression that the Google Tag needed to fire first before the datalayer… is that not correct?