Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.

What is the best way to capture multi select data in Adobe Analytics?

Avatar

Level 3

I have a multi-select list where I am firing an event and a serialized event. 

 

Let's say that I have 4 items on this list. At the moment, the selected values are captured in an array in the Front-End. How can I translate this information into Adobe Analytics? Can I capture this information in the eVar? 

 

Thanks in advance! 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Community Advisor

Depending on the length of the potential values, you can use a "List Enabled" prop, to pass all the values with your selected delimiter.

 

For example:

s.propX = "value a,value b,value c,value d";

or

s.propX = "value b,value d";

 

If propX is set up as list enabled with comma as your delimiter, each value would be split to its own row in your report..

 

    Occurrences
PropX   6
  value b 2
  value d 2
  value a 1
  value c 1

 

 

Note that a prop enabled list can hold up to 100 characters maximum. So if the values you are passing will exceed that characters count, this is a bad choice to use.

 

 

The are also 3 list parameters available to you, these are basically like eVars, they can have an expiry assigned to them (default is Visit, but this can be changed for your needs). 

 

Like the list enabled prop, you can choose your delimiter, but unlike props, lists can take up to 255 characters per item... you can pass as many items as you need. 

 

The report would look similar to above (assuming you used Hit expiry if pairing with occurrences metric, but you could use ListX Instance to get when the values are set, with a longer Expiry like Visit you can correlate to actions later in the Visit).

Avatar

Level 10

For multi-select we generally do not do the list variable approach, which is often a good approach for multiple values created with one action. My Business typically just wants to know which options are being used or which can be dropped because they are not used. How much a given option is being used as an indication of user intent is typically of less interest, mostly because of how we use multi-select in our designs.

Thus, using a list variable is a bit of an overkill for us. We pass the values with a delimiter into a regular variable. We can easily see what combinations of options are used and can use report filtering to see the use of any given option. If we need to get fancy, there is always Excel.