use defined environment configuration for analytics