Title: Testing Environment
Last modified: August 31, 2016

---

# Testing Environment

 *  [sercanlir](https://wordpress.org/support/users/sercanlir/)
 * (@sercanlir)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/)
 * Trying to create a testing environment for the plugin, but it does not work. 
   I changed the app_id myself on bootstrap.php. The test ID appears on Intercom
   settings, however messages still get sent to original app on Intercom not to 
   testing environment.
    Is there a fix to that? Thanks for your help. Sercan
 * [https://wordpress.org/plugins/intercom/](https://wordpress.org/plugins/intercom/)

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

 *  Plugin Author [Intercom](https://wordpress.org/support/users/bobintercom/)
 * (@bobintercom)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/#post-7214540)
 * Hi sercanlir,
 * If you view the source of your website can you see the new or old app id? Do 
   you have any caching in place?
 * Bob
 *  Thread Starter [sercanlir](https://wordpress.org/support/users/sercanlir/)
 * (@sercanlir)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/#post-7214541)
 * Hello Bob,
    Thank you for your response. I was able to modify and insert $app_id
   on bootstrap.php, so that I saw the new app id on my wordpress plugin. However,
   intercom never caught any users on the test environment.
 * I wanted to try the test environment because my events are not being tracked.
   Could you check, if I’m doing something wrong? Below is my event tracking code:
   
   [ View All Projects <script type=”text/javascript” Intercom(‘trackEvent’, ‘view-
   all-campaigns’);> </script>
 * Thanks again for your help.
    Sercan
 *  Thread Starter [sercanlir](https://wordpress.org/support/users/sercanlir/)
 * (@sercanlir)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/#post-7214542)
 * Here I commented the code out –
    <!– [ View All Projects <script type=”text/javascript”
   Intercom(‘trackEvent’, ‘view-all-campaigns’);> </script>  –>
 *  Plugin Author [Intercom](https://wordpress.org/support/users/bobintercom/)
 * (@bobintercom)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/#post-7214571)
 * Do you see any web console errors when your events are being tracked?
 *  Thread Starter [sercanlir](https://wordpress.org/support/users/sercanlir/)
 * (@sercanlir)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/#post-7214573)
 * Hello Bob,
    No web console errors to be tracked. I implemented the tracking code
   to only my local host and using local web server to test. That shouldn’t be a
   problem though right? Best, Sercan
 *  Plugin Author [Intercom](https://wordpress.org/support/users/bobintercom/)
 * (@bobintercom)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/#post-7214574)
 * Would you mind getting in touch with Intercom support through the messenger on
   the web app? They will be able to tell if your requests are getting through to
   Intercom (can you see the trackEvents doing anything in the network tab of your
   web console?) or if there’s another issue at play.
 *  Thread Starter [sercanlir](https://wordpress.org/support/users/sercanlir/)
 * (@sercanlir)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/#post-7214576)
 * Thank you Bob. I have contacted them and looking forward to hear back.
    Best,
   Sercan

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

The topic ‘Testing Environment’ is closed to new replies.

 * ![](https://ps.w.org/intercom/assets/icon-256x256.png?rev=1271236)
 * [Intercom](https://wordpress.org/plugins/intercom/)
 * [Support Threads](https://wordpress.org/support/plugin/intercom/)
 * [Active Topics](https://wordpress.org/support/plugin/intercom/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/intercom/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/intercom/reviews/)

## Tags

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

 * 7 replies
 * 2 participants
 * Last reply from: [sercanlir](https://wordpress.org/support/users/sercanlir/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/testing-environment/#post-7214576)
 * Status: not resolved