Title: Environments
Last modified: September 1, 2016

---

# Environments

 *  [plarcher](https://wordpress.org/support/users/plarcher/)
 * (@plarcher)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/environments/)
 * Hello,
 * Kudos for this great plugin !
 * Any plan to support environments or advice to make it work with the plugin ?
 * Kind regards,
 * Phil
 * [https://wordpress.org/plugins/duracelltomi-google-tag-manager/](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/environments/#post-7555942)
 * Hi Phil,
 * Thanks for the kind words.
 * I was thinking of adding support for environments but I do not know how this 
   could be added in a way that is as simple as copy/pasting the container ID itself.
 * My problem is that environments do not have any well documented IDs that can 
   be copy pasted easily. It is only some added JS code in the container code that.
 * What do you think?
 * Thomas
 *  [scottan](https://wordpress.org/support/users/scottan/)
 * (@scottan)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/environments/#post-8553936)
 * From someone who uses GTM environments, a this would definitely be helpful. Perhaps
   hidden away in some advanced configuration section where users can paste the 
   implementation code in a text input block and that override the GTM-ID field.
 * I understand the need to keep things simple for the majority of all users but
   being able to use the environment feature in GTM is something I’m definitely 
   interested in. Sure I could install GTM by hand to templates but the beauty of
   your plugin is how simple it is to install and you’ve already built many dataLayer
   hooks so grabbing that meta information is so easy…its really hard not to use
   your plugin when it saves so much time 🙂
 * But yes…environments is a feature request I think would get enough use to make
   it worthwhile.
 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/environments/#post-8554657)
 * Hi,
 * Thanks for adding your thoughts.
    I added this to my issue tracker so that I 
   can check what I could do to support environments: [https://github.com/duracelltomi/gtm4wp/issues/18](https://github.com/duracelltomi/gtm4wp/issues/18)
 * Thomas
 *  Thread Starter [plarcher](https://wordpress.org/support/users/plarcher/)
 * (@plarcher)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/environments/#post-9013377)
 * This is cool and I’m following it 🙂 Maybe I get a big project requiring this
   in the future so we could fund this effort…

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Environments’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

## Tags

 * [environments](https://wordpress.org/support/topic-tag/environments/)
 * [gtm](https://wordpress.org/support/topic-tag/gtm/)

 * 4 replies
 * 3 participants
 * Last reply from: [plarcher](https://wordpress.org/support/users/plarcher/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/environments/#post-9013377)
 * Status: not resolved