I use Yoast's plugin for Google Analytics, that way I don't have to even think about adding it to the new theme