Split.io is not receiving the attributes

Comments

8 comments

  • Dave Murphy

    Hi Pedro, the attributes related to getTreatment are for targeting users when deploy a split.  To associate attributes with ID/keys you need to use the API (https://help.split.io/hc/en-us/articles/360020529772-Identifying-customers).  We do not send attributes back via the SDK with an impression.

    dave

    1
    Comment actions Permalink
  • Pedro Buzzi_

    Got it Dave Murphy

    What if I want to create a group of beta users selecting them through the split.io console and releasing some features only to them, it would be possible?

    0
    Comment actions Permalink
  • Dave Murphy

    Yes, the easiest way to do that would be to put a list of the user IDs in a segment.  That's described here https://help.split.io/hc/en-us/articles/360020407512-Create-a-segment and there's some discussion of segments in the top two videos on this page https://help.split.io/hc/en-us/articles/360024140332-Targeting-splits.

    You can use segments in a whitelist, in which case everyone will get the assigned treatment, or in a targeting rule, where you can select a percentages of the available treatments.

    dave

    0
    Comment actions Permalink
  • Nélson Costa

    I was looking into this recently, but I noticed on the documentation
    https://help.split.io/hc/en-us/articles/360020448791-JavaScript-SDK

    There is a section related to attributes.

    var treatment = client.getTreatment('SPLIT_NAME', attributes)

    Are the attributes intended to work via the split client?
    I was also trying to check on the split dashboard for the user attributes

    0
    Comment actions Permalink
  • Dave Murphy

    In this context, attributes are values you pass with the getTreatment call in order to target your split based on those attributes.  You add them under "Set targeting rules" as described here

    It's important to note that attributes are dimensions of your customer that your developers have access to at runtime.  These are not attributes that Split defines.  Hopefully the article posted will answer your question.

    dave

    0
    Comment actions Permalink
  • Nélson Costa

    Hey Dave Murphy
    I think I understand that part, what is confusing me is that I was not able to see the attributes on the split dashboard. 
    Are we supposed to configure the "Set targeting rules", assuming that the values will be there?

    Live tail:



    0
    Comment actions Permalink
  • Dave Murphy

    Unfortunately, we've overloaded the term attributes.  We do not return attributes used in targeting to Split as they may include PII or business confidential information.  Splits use attributes to target, but we do not return those attributes as part of an impression.

    The attributes you would see on that page show up if you decide you want to associate identifiable information with users/companies you target.  This article describes the difference (you are not the first one to be confused).

    Here's an example of using identity attributes.

    dave

     

    1
    Comment actions Permalink
  • Nélson Costa

    Thanks! for the clear-up

    0
    Comment actions Permalink

Please sign in to leave a comment.