Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

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.