JS to determine test/beta/prod environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2022
10:31 AM
I'm starting to dig into building custom JS. Is there a recommended method to determine whether the script is being run from the test, beta, or production environments? Would just checking the page URL be sufficient?