I wanted to familiarize myself with creating plugins, so I created a small plugin which includes the Google Tag Manager code in the template files. The results may be found here - https://github.com/anuragji/omeka-google-tagmanager
The Google Tag Manager (http://www.google.com/tagmanager) is a simple way to manage and post tags on a website, including the Google Analytics Tag.