question

camilog avatar image
camilog asked

ExperiementVariant segments not generated

Hi! I've noticed that experiments generate special segments prefixed with "ExperimentVariant" and the players in that experiment are assigned these segments. This is very useful to know what variant was a player part of. For some reason though, this only seem to happen to variants with Title Data Overrides. If I only want to apply an override to one variant and leave the other variant as is, the players of the variant without an override are not assigned any ExperimentVariant segment. Is this a bug? Is there a way to have ExperimentVarian segments on both variants without necessarily using overrides on both?

Thank you in advance,

Camilo

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

We have reproduced the behavior you mentioned, currently, only when is the Title Override used, the Segments of Experiment Variant will be generated. We will inform our team this issue for the investigation. Thanks for the report.

For the clarification, the experiment variant segments generated automatically can’t be used to trigger the automatic actions. So, you can’t use them in the PlayFab Rules or Scheduled Tasks. Could you please clarify how you use the experiment variant segments? If you only want to know which variants a player belongs to, you can call the API GetTreatmentAssignment to retrieve the experiment variant and treatment assignments of a player.

7 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

camilog avatar image camilog commented ·

Hi Sarah! Thank you for your answer. All the links to getTreatmentAssignment that I have found in the documentation, including the one in your response, are broken (404 - Page not found).


At some point, we send an event with all the player's segments. We read these event's with a microservice to have a history. Here we would want to have the ExperimentVariant segments.

0 Likes 0 ·
Sarah Zhang avatar image Sarah Zhang camilog commented ·

The documentation issue should be fixed now, could you please check it? Currently, you can refer to this thread to use tags to generate the segments based the experiment variant.

0 Likes 0 ·
camilog avatar image camilog commented ·

Hi Sarah, thank you. The link to GetTreatmentAssignment works now, but the link in the answer to the thread that you just shared to use tags to generate the segments is also broken.

0 Likes 0 ·
Sarah Zhang avatar image Sarah Zhang camilog commented ·

It navigates to this link:

https://docs.microsoft.com/en-us/gaming/playfab/features/analytics/experiments/experimentation-key-terms

You can tag your account using the AddPlayerTag API, and filter it in segment filter settings:

0 Likes 0 ·
camilog avatar image camilog commented ·

Thank you, Sarah. This link has very useful information. Segmenting by Tag or Statistic value is very useful. We've used it several times.

About the ExperiementVariant segments not being generated for the control variant without using an override. Have you received any feedback from your team about this issue?

0 Likes 0 ·
Sarah Zhang avatar image Sarah Zhang camilog commented ·

We will inform you if there is any update.

0 Likes 0 ·
camilog avatar image camilog Sarah Zhang commented ·

Thank you, Sarah :)

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.