Fixed a problem when reading config
Add Google Analytics only in production environment