Environments

Apex uses one workspace key on localhost and on the live site. The key does not pick the environment. Apex classifies the event.

The three buckets a merchant reads on screen are Production, Beta, and Dev. Unclassified exists when Apex cannot tell.

You seeTypical source
ProductionYour live domain, App Store, Play production
BetaPreview hosts, TestFlight, Play internal
Devlocalhost, Xcode debug, sideloaded builds

Same key everywhere

Paste the same workspace key in local, preview, and production. Do not make a second workspace to "keep test data out." Filter the dashboard by environment instead.

Where this is set

Set up Apex and Settings → Workspace → Environments let you name which hosts and Shopify stores are live vs development. Detection detail for web hostnames and mobile release channels lives on Test vs Production.