How to track site search with using Google Analytics without installing additional modules?
I think the module serves well, but if you don't want to use the module for some reason, you can always create a new block and copy/paste the code provided by Google Analytics in there. Make sure you select the Text Format as Full HTML or similar which doesn't strip out &lt;script&gt; tags.

And of course, enable the block and move it to a footer region.