Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.
SOLVED

List Variables in Adobe Analytics

Avatar

Level 1

Hi! List Variables in Adobe Analytics are created in the following way -

 

  1. Go to Analytics > Admin > Report Suites
  2. Select the report suite.
  3. Click Edit Settings > Conversion > List Variables .

 

How will a custom data element be mapped to this list variable?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

I assume that you're referring to a data element that you've setup in AEP Data Collection Tags, a.k.a. Adobe Launch.

When you had setup your List Variable in AA's report suite, you had to specify a separator. The default is the comma ",".

Let's say you are using that default comma. Your data element should then return a string where the values are comma-separated, for example, "one,two,three", which you will then set to your list variable.

Example:

  • Let's say you want to track to List Variable 1.
  • Your data element is called "the important list". It will, for example, return a value "one,two,three".
  • Then in your AA Set Variables action, you can write this in custom code: s.list1 = _satellite.getVar("the important list")

In the above example, s.list1 will get the value "one,two,three". Since List Variable 1 had been configured to recognise the comma as the separator, AA will split that value into "one", "two" and "three", i.e. 3 separate values. If you were to then create a Freeform Table with List Variable 1 as the dimension, you will see three separate rows, one each for "one", "two" and "three".

Hope that helps!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

I assume that you're referring to a data element that you've setup in AEP Data Collection Tags, a.k.a. Adobe Launch.

When you had setup your List Variable in AA's report suite, you had to specify a separator. The default is the comma ",".

Let's say you are using that default comma. Your data element should then return a string where the values are comma-separated, for example, "one,two,three", which you will then set to your list variable.

Example:

  • Let's say you want to track to List Variable 1.
  • Your data element is called "the important list". It will, for example, return a value "one,two,three".
  • Then in your AA Set Variables action, you can write this in custom code: s.list1 = _satellite.getVar("the important list")

In the above example, s.list1 will get the value "one,two,three". Since List Variable 1 had been configured to recognise the comma as the separator, AA will split that value into "one", "two" and "three", i.e. 3 separate values. If you were to then create a Freeform Table with List Variable 1 as the dimension, you will see three separate rows, one each for "one", "two" and "three".

Hope that helps!