Google Tag Manager is a WordPress plugin by georgestephanis that adds a field to the existing General Settings page for the ID and outputs the javascript in the front-end footer. Al you need to do is provide the Account ID!.
Download: http://wordpress.org/extend/plugins/google-tag-manager/