WordPress plugin intelligence profile

Profenv – Environment Profiles

Store environment-specific values (GTM container ID, GA4 measurement ID, etc.) per environment and switch them automatically.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version0.8.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 5.5 · PHP 7.4
Directory statusactive
Last directory update31 Oct 20261d ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Profenv – Environment Profiles version 0.8.0 as active, updated 1d ago and tested up to WordPress 7.1.

Overview

About this plugin

Profenv stores environment-specific values (such as a GTM container ID and a GA4 measurement ID) for each of your environments (production, staging, and any additional sets) and switches them automatically based on the environment the site is currently running in. It solves the common migration problem where production settings cannot be reused on staging, and vice versa.

  • Four-step fallback environment detection: custom constant (wp-config.php), WP_ENVIRONMENT_TYPE (WP 5.5+), domain mapping, and undetermined as the last resort
  • When the environment cannot be determined, output of environment-specific values is suspended and a warning is shown in the admin screen. This prevents staging tags from ever firing on production
  • Field definitions (key and type, including code snippets) are shared across all environments, while each environment stores its own values
  • Each environment can also define environment-specific fields (key, type, and value) that exist only in that environment
  • When keys named gtm_id / ga4_id are defined and filled, the core plugin automatically outputs the GTM / GA4 tags with proper escaping; all other values are stored only and never output by the core plugin
  • Public API for extensions and themes: profenv_current_env(), profenv_get(), and profenv_get_all(), each with a filter equivalent that returns a safe default when the plugin is inactive
  • Shared field values are also readable through the standard option API — get_option( ‘profenv_gtm_id’ ) — and through ACF’s get_field() with the same prefixed name, always returning the current environment’s value
  • Extensions can register their own fields via the profenv_register_fields filter and reuse the settings infrastructure

Documentation

Setup steps, the full developer reference, and answers to common questions are on the product site:

  • Usage
  • Documentation
  • FAQ

External services

This plugin can connect to Google Tag Manager and Google Analytics 4, services provided by Google LLC. They are used to load the tag container / measurement snippet that the site administrator has configured. No connection is made at all unless you enter a GTM container ID and/or a GA4 measurement ID in the plugin settings.

html inside a noscript iframe). com/gtag/js. As a consequence of loading these scripts, the visitor’s IP address, user agent, and the URL of the visited page are transmitted to Google on every front-end page view, and Google may collect additional analytics data according to how your Tag Manager container or Analytics property is configured.

The plugin itself sends no data to Google; requests are made by the visitor’s browser only after you configure the IDs above. You are responsible for informing your visitors and obtaining any consent required in your jurisdiction (for example, via a consent management plugin).

  • Google Tag Manager: Use Policy, Privacy Policy
  • Google Analytics 4: Terms of Service, Privacy Policy
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • environment
  • ga4
  • gtm
  • settings
  • staging
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 5.5 · PHP 7.4
Update activity31 Oct 20261d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version0.7.20.8.0
WordPress compatibility7.0.87.1.4
Version0.7.10.7.2
WordPress compatibility7.0.47.0.8
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.