add google analytics settings to config and include in footer if environment is production