Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Tracking Variants

Discussion in 'Unity Remote Config' started by temresen, Mar 4, 2020.

  1. temresen


    Jul 9, 2018

    Currently, I have been using remote config 1.2.0-preview.3 without any issues.

    For A/B testing purposes, I want to see the performance of each variant that I declare. So that I need to pass variant identifiers to the analytics platform but I cannot get variant_name through app config. Is there a workaround for that?
  2. rambod


    Unity Technologies

    Mar 2, 2018
    Hey @temresen there's a couple of options:
    1. Make a key in your config, call it "variantName", then override that with an id for each variant. If you're running multiple rules, you might want to make a key called "ruleName" as well.
    2. We offer an assignment ID, which can be retrieved from the RuntimeConfig class, this is a unique ID for each request, you can add this ID to your own analytics events, then use the reports we generate to see which user got which variant, but this might require some manual data processing on your end.
    florianbrochard likes this.