Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Tracking Variants

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

  1. temresen

    temresen

    Joined:
    Jul 9, 2018
    Posts:
    29
    Hi,

    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

    rambod

    Unity Technologies

    Joined:
    Mar 2, 2018
    Posts:
    58
    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.