주요 콘텐츠로 건너뛰기

A/B test assignments on orders

What's new

Orders carry an optional experiments array that records which A/B tests the player was in when the order was created. Each entry is an Experiment object with two required strings, experiment_key and variant_key, each 1–100 characters. A create request may send up to 20 assignments.

Impact

Attribution for your own experiments now travels with the order. Send the assignments your experimentation tool handed the client, and they come back on every order read, so revenue can be split by variant without joining orders to an external assignment log.

Changes

ResourceChange
create_orderOptional experiments array accepted, up to 20 entries of experiment_key and variant_key
get_order, update_orderexperiments returned on the order

Upgrade

  • No action required. Orders created without experiments are unchanged.
  • To use it, pass the keys exactly as your experimentation tool reports them — Aghanim stores them verbatim and does not validate them against a list of known experiments.

도움이 필요하세요?
통합팀에 문의하십시오 [email protected]