Tours contain individual steps and you can configure each step to show in a particular place with URL matching. This allows you to have tours that are across pages. Learn more about URL matching here.
To show a step on a particular subdomain, you can include this within the URL match.
Steps to move tour from staging to production
If you plan to build a tour on a staging environment to later move to production, here is the best way to do this:
- Use the staging specific URL on the first step (e.g. URL contains text =
staging.mydomain.com) ➡️only shows on staging
- For all subsequent steps, don't include the specific subdomain (e.g. URL contains text =
mydomain.com) ➡️ could show on staging or production
BUT subsequent steps in a tour will ONLY show if the previous ones have been seen. This means subsequent steps cannot be seen on production, because the first step is only set to show on staging.
Once you have thoroughly tested the tour on staging and ready to deploy to production, simply change the first step URL match from
mydomain.com and it (and the subsequent steps of the tour) will not be ready for production.
Don't forget to hit "Apply Edits" so that this change is applied.
Multiple staging or production environments
If your product has multiple different environments, you can use a wildcard, or a regular expression match. You can also send Chameleon a custom value (or string) associated with a user or account, and match to this. Learn more here.