blekleroc Posted December 10 Share Posted December 10 Hi, Thank you for sharing. I have a display issue on my website, namely that the Google Tag Manager ID is permanently displayed on a white background at the top of the site. Should I move the code to the header.tpl file in PrestaShop 8.2.1? Thanks again. Link to comment Share on other sites More sharing options...
dinesh badrukhiya Posted December 15 Share Posted December 15 On 12/10/2025 at 9:07 PM, blekleroc said: Hi, Thank you for sharing. I have a display issue on my website, namely that the Google Tag Manager ID is permanently displayed on a white background at the top of the site. Should I move the code to the header.tpl file in PrestaShop 8.2.1? Thanks again. Hi, This usually happens when the GTM code is added with incorrect syntax or placed in the wrong position in the theme, causing it to render as visible text instead of running as a script. To check this properly, could you please share the website URL and exact GTM code snippet you added (you can mask the ID if you prefer) and also where the code was added (In which file and what place.) Thanks Link to comment Share on other sites More sharing options...
partisansp Posted December 15 Share Posted December 15 It sounds like you're dealing with a Google Tag Manager ID display issue. Moving the code to the header.tpl file in PrestaShop 8.2.1 could help resolve this. Have you considered adjusting the CSS styling to hide it? You might find some useful solutions there. Good luck with fixing it! run 3 Link to comment Share on other sites More sharing options...
lewe Posted 3 hours ago Share Posted 3 hours ago No, the problem doesn't stem from the header.tpl file itself, but most likely from the incorrect integration of the Google Tag Manager (GTM) code—specifically the <noscript> section. What you're describing (the GTM ID visible on a white background at the top of the site) almost always occurs when the GTM code is misplaced or misinterpreted by the theme. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now