Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Applying context data to List Vars

Avatar

Level 1

We are looking at updating analytics on a page that has multiple images within a scroll module, and want to track these elements individually within a page load.

We were looking at using List vars for tracking views for each individual image that appears within the module. As an example, we would use the list variable to say list1=image33, image21, image18, image83, image38, image69, image78, image4; and set 'event4=1' and define event4 as image view.

We'd like more details about that image also applied for reporting, so for example the first image in the module is image33. We would like to apply context data to that stating that image is for product=tree_oak and then image 21 would have context data of product=tree_elm and so on. 

Can context data be applied to individual value in a list var? 

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi Emily
One possible solution is to classify the list variable (or prop list if you don't need to see conversion) with name and description. 

Template: list1 = name_image1|description_image1, name_image2|description_image2, name_image3|description_image3

Example: list1 = image33|tree_oak, image43|tree_elm, image77|tree_abc

At the AA you can create 2 classifications for list1: Image Name and Image Description. You'll have something like this: 


Hope this help you :)

Regards,
Brandão.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 2

Hi Emily
One possible solution is to classify the list variable (or prop list if you don't need to see conversion) with name and description. 

Template: list1 = name_image1|description_image1, name_image2|description_image2, name_image3|description_image3

Example: list1 = image33|tree_oak, image43|tree_elm, image77|tree_abc

At the AA you can create 2 classifications for list1: Image Name and Image Description. You'll have something like this: 


Hope this help you :)

Regards,
Brandão.