You probably want to make the GA ID a setting, and remove this script block if the setting doesn't exist. That way, pageviews on local development instances and on the dev server won't be sent to the GA profile of the prod site.