Applying context data to List Vars

Avatar

Avatar

emily_adams

Avatar

emily_adams

emily_adams

10-04-2017

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? 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

brandaop_bruno

Avatar

brandaop_bruno

brandaop_bruno

11-04-2017

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.