The Google Tag Manager plugin adds a field to the existing General Settings page for the ID and outputs the javascript to make it work.