Magento provides the Google API management through the admin panel, means you can add the Google Analytics code through the admin panel without editing the code files. But there is some problem with the Google Analytics code, If we are going to add the Google Analytics through the Maganto
For the SEO purpose Magento provides very strong functionality and there are inbuilt google API's to serve you the best on google. It provides the Interface for the Google Analytics, Google Checkout, Google Checkout Shipping - Merchant Calculated, Google Checkout Shipping - Carrier Calculated, Google Checkout Shipping - Flat