added globals for site env and analytics id