Firebase A/B Testing version targeting
Asked Answered
B

1

8

I was trying to run an A/B test using Firebase A/B testing, but just for specific versions of the app. There were no results and no users exposed to the experiment after 5 days of running it.

After that, I tried to run the same A/B test but without a version restrictions and the first results were available the next day.

So I thought that the way I was defining version restrictions was wrong. I tested it in Remote Config, but the Remote Config was returning the correct values when I applied the same version restriction. Here is how I defined the version restriction in both cases:

enter image description here

The app's version names are in the following format X.Y.Z (e.g. 6.51.0, 6.51.1)

Is there something that I am missing? Is the test significantly slower to start if specific versions are being targeted?

Bestiality answered 8/6, 2020 at 12:3 Comment(6)
Could you share your A/B test configuration? Are you using any additional targeting like activation event etc?Joachim
@Joachim My A/B test configuration is pretty simple. The only targeting that I have is applicationId and version. There is no activation event. If I remove the version from targeting, the A/B test works, so it seems that it has to be something related to versions. But since the same version targeting works with remote config it seems to be some kind of bug in Firebase A/B testing.Cogswell
are you upload versions you want to test in firebase????Zymo
@ShahriyarAghajani I am not sure that I understand the question. Some of the versions that I am targeting are uploaded to PlayStore, and some would be uploaded in the future, as I can't modify the A/B test when it starts.Cogswell
Versions are tricky in my experience with firebase/remote config, you could try the same with "regex" instead of "contains", in your case will be something like 6\.[5-6][5-6] another tip, you could wipe your app's data from your test device to accelerate the collection of data to firebase console, so you don't have to wait one day.Housefather
@Housefather I tested this on an app that has millions of users, so I don't think that data collection is a problem. And Remote Config works perfectly with versions. Only A/B tests have issues. I will try with regex, but more I play with this, more it seems that there is some bug in Firebase A/B Testing.Cogswell
F
0

This should work. I have tried this many times. Make sure that you're targeting the correct value based on your app configuration. The Version targeting criterion...

  • For Android app, you should target the "versionName", not the "versionCode".
  • For iOS app, you should target the "CFBundleShortVersionString", not the "CFBundleVersion".

In addition, you should put the exact number on the console. For example, if the versionName or CFBundleShortVersionString is 1.0.0, then you should put 1.0.0 and not just 1.0.

Flume answered 20/11, 2020 at 16:5 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.