Profenv – Environment Profiles
Store environment-specific values (GTM container ID, GA4 measurement ID, etc.) per environment and switch them automatically.
Use with caution
Profenv – Environment Profiles works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 55/100 on our health check.
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Profenv stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| environment | >100 |
| ga4 | >100 |
| gtm | >100 |
| settings | >100 |
| staging | >100 |
About Profenv – Environment Profiles
From the official readme · v0.7.1Description
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
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.
When a GTM container ID is set, the standard Google Tag Manager snippet is output on every front-end page, and the visitor’s browser loads https://www.googletagmanager.com/gtm.js (plus https://www.googletagmanager.com/ns.html inside a noscript iframe). When a GA4 measurement ID is set, the standard Google tag (gtag.js) snippet is output, and the visitor’s browser loads https://www.googletagmanager.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
Changelog
0.7.1
- Renamed the admin menu entry from “Profenv” to “Environment Settings”.
- When no environment sets have been saved yet, the staging set now defaults to the current domain, so a fresh install is never detected as production by domain mapping.
- Fixed the “Settings saved.” notice being displayed twice after saving.
0.7.0
- Renamed the plugin to “Profenv – Environment Profiles” (slug: profenv) following plugin review feedback. All function, option, hook, and constant prefixes changed accordingly (the plugin has never been released, so no data migration is provided).
- The GTM / GA4 snippets are now registered via wp_enqueue_script() / wp_add_inline_script() instead of being printed directly into wp_head.
- Code-snippet field values are stored as-is only for users with the unfiltered_html capability; for other users they are filtered through wp_kses_post() on save.
- Added an “External services” section to the readme documenting the connection to googletagmanager.com.
- Uninstall now deletes only the plugin’s known option names instead of a prefix-based bulk delete.
0.6.1
- Rewrote the plugin header Description in English; the Japanese description is now provided via the translation files. No functional changes.
0.6.0
- Added a read-only bridge for shared field values: get_option( ‘profenv_{key}’ ) and ACF’s get_field( ‘profenv_{key}’ ) now return the current environment’s value. Names that would collide with the plugin’s own options are not bridged, and the bridge falls through to the normal resolution when the environment is undetermined or the value is empty.
0.5.1
- Updated the Help tab: added a Field definitions section and aligned the per-environment description with the current UI. No functional changes.
0.5.0
- Added environment-specific fields: in addition to the shared field definitions, each environment tab can now define its own fields (key, type, and value) that exist only in that environment. Legacy custom fields are migrated into environment-specific fields on read.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Profenv – Environment Profiles alternatives
All environment plugins →FAQ
Profenv – Environment Profiles: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 1, 2026
Is Profenv – Environment Profiles free?
Yes. Profenv – Environment Profiles is free to download and use from the official WordPress.org plugin directory.
Is Profenv – Environment Profiles safe to use in 2026?
Profenv – Environment Profiles works, but test it on a staging site before relying on it in 2026. Was last updated 3 months ago, and scores 55/100 on our health check.
How many websites use Profenv – Environment Profiles?
Profenv – Environment Profiles is active on <10 WordPress websites and has been downloaded 202 times since it launched in July 2026. It was downloaded 52 times in the last 30 days.
Does Profenv – Environment Profiles work with WordPress 7.1?
Profenv – Environment Profiles is officially tested up to WordPress 7.0.6, while the latest release is 7.1.2. It may still work, but try it on a staging site first.
What PHP version does Profenv – Environment Profiles need?
Profenv – Environment Profiles requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Profenv – Environment Profiles last updated?
The latest version, 0.7.1, was released on July 18, 2026 (3 months ago).
Who makes Profenv – Environment Profiles?
Profenv – Environment Profiles is developed and maintained by Redwoodcity.
What are the best alternatives to Profenv – Environment Profiles?
The most popular alternatives to Profenv – Environment Profiles are Display Environment Type (1K+ installs), Contextual Adminbar Color (500+ installs) and Dev Info Bar (80+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card