Injecting google Tag manager code into body


I have been asked to remove my Google Analytics code and replace it with Google Tag Manger code in the and for each page.

With Code Injection, I can find where to remove Google Analytics code. I can find where to add to . Just wondering where to add the code for the of each page?

Theme: Liebling 0.6.6
Ghost version: Latest