Request Metrics supports the inclusion of arbitrary data which is then tied to all performance, event and error data captured on the page. This metadata is useful for anything important to you including environment, code versions, user cohorts or A/B testing variants.
Metadata can be added at any point in the page load. The agent includes all added metadata on every data point that is sent. Metadata keys and values must be strings: