Experiments and personalization
Before you start: the basics and host actions.
Your backend can serve different documents to different groups of users. For example, test two onboarding layouts or show a different offer to returning customers. Both versions use the components and actions already installed in the app.
Change the headline in Data.json. Then change the XML to emphasize another part of the offer. This preview illustrates document variation; it doesn't enroll users in a real experiment.
Assign and measure variants
Use your existing experiment service to assign a variant, record when it is shown, and measure conversions. Relo renders the document that service selects.
Use a stable assignment key and make a chosen variant observable in diagnostics. Track outcomes through host-owned actions and analytics policy. Keep authentication and authorization independent of presentation selection.
Prepare a rollback
Validate the new source against supported registrations, retain a known-good document, and ensure older clients receive compatible compositions. Partition caches when account, locale, capabilities, or cohort selection changes the representation.
Measure on the target native surfaces as well as in the browser. See delivery and rollout for a practical checklist tied to the actual document contract.