What's the solution for Google Tag Manager integration issues?

Hello, Good day. I’m facing a problem with google tag manager integration
when I try to add Google tag manager to our website it’s shown a little error, I just put the Google tag manager code on the website head section, and after that problem is, in the website footer section show extra text “page contents”. And when I remove GT code it’s okay, But I need add GT on the website. I have attached a screenshot, please see it and could you tell me how to fix it?

Hello @jahidislam ,

Well, this is very strange behavior. But there are 2 options to check:

  1. Either you input some redundant text in the page code.
  2. Or there is a script with redundant text in a Google Tag Manager.

Review everything thoroughly.

Best regards,
Anastasia