Google tagmanager code directly after body tag

Currently the Google tag manager code is placed somewhere after the body.
But webmaster tools demand it be placed directly after the opening body tag to function properly.
I added the before tag to make sure this happens.