Staging/QA Server

We recommend testing adding the Chartbeat code in a controlled qa/staging environment. The proper way to handle this is, if possible, to have the domain value of the Chartbeat code be set to (for example) staging.mycompany.com when running on staging, and mycompany.com when in production. So the production code line would be:

var _sf_async_config.domain = "mycompany.com";

and the staging code would be:

var _sf_async_config.domain = "staging.mycompany.com";

This way, any testing views will end up in its own Chartbeat dashboard.
 
Do note that the staging domain will have to be added and activated on Chartbeat, just like the production one. If you run into any issues adding a staging domain, reach out to the Chartcorps and we'll get the test domain up and running. 

Here are some ways to get in touch.